28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_isprint_test.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: lalgarra <lalgarra@student.42madrid.com> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/10/03 18:27:44 by lalgarra #+# #+# */
|
|
/* Updated: 2025/10/05 13:38:43 by lalgarra ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
#include <stdio.h>
|
|
|
|
int main(void)
|
|
{
|
|
int p1;
|
|
|
|
p1 = 0;
|
|
while (p1 < 256)
|
|
{
|
|
printf("'%c' (%i); isprint(c)!=0: %i\r\n",
|
|
p1, p1, ft_isprint(p1) != 0);
|
|
p1++;
|
|
}
|
|
return (0);
|
|
}
|