push
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_print_alphabet.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: sgongas <sgongas@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2026/02/22 22:42:06 by sgongas #+# #+# */
|
||||
/* Updated: 2026/02/22 23:12:29 by sgongas ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
void ft_putchar(char c)
|
||||
{
|
||||
write(1, &c, 1);
|
||||
}
|
||||
|
||||
void ft_print_alphabet(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
i = 97;
|
||||
while (i <= 122)
|
||||
ft_putchar(i++);
|
||||
}
|
||||
|
||||
// int main(void)
|
||||
// {
|
||||
// ft_print_alphabet();
|
||||
// return (0);
|
||||
// }
|
||||
Reference in New Issue
Block a user