27 lines
1 KiB
C
27 lines
1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_isdigit_test.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: lalgarra <lalgarra@student.42madrid.com> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/10/05 13:32:43 by lalgarra #+# #+# */
|
|
/* Updated: 2025/10/05 13:32:45 by lalgarra ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
#include <stdio.h>
|
|
|
|
int main(void)
|
|
{
|
|
int c;
|
|
|
|
c = 0;
|
|
while (c < 256)
|
|
{
|
|
printf("'%c' (%i); isdigit(c): %i\r\n", c, c, ft_isdigit(c));
|
|
c++;
|
|
}
|
|
return (0);
|
|
}
|