first commit
This commit is contained in:
8
ended/C02-corr/ex00/ft_strcpy.c
Normal file
8
ended/C02-corr/ex00/ft_strcpy.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
char ff[254] = "";
|
||||
|
||||
ft_strcpy(ff, "ffff");
|
||||
printf("%s", ff);
|
||||
}
|
8
ended/C02-corr/ex01/ft_strncpy.c
Normal file
8
ended/C02-corr/ex01/ft_strncpy.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
char ff[254] = "";
|
||||
|
||||
ft_strncpy(ff, "ffffffffff", 4);
|
||||
printf("%s", ff);
|
||||
}
|
8
ended/C02-corr/ex02/ft_str_is_alpha.c
Normal file
8
ended/C02-corr/ex02/ft_str_is_alpha.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
int result;
|
||||
|
||||
result = ft_str_is_alpha("adfec");
|
||||
printf("%d", result);
|
||||
}
|
8
ended/C02-corr/ex03/ft_str_is_numeric.c
Normal file
8
ended/C02-corr/ex03/ft_str_is_numeric.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
int result;
|
||||
|
||||
result = ft_str_is_numeric("1155");
|
||||
printf("%d", result);
|
||||
}
|
7
ended/C02-corr/ex04/ft_str_is_lowercase.c
Normal file
7
ended/C02-corr/ex04/ft_str_is_lowercase.c
Normal file
@ -0,0 +1,7 @@
|
||||
int main(void)
|
||||
{
|
||||
int result;
|
||||
|
||||
result = ft_str_is_lowercase("adfAec");
|
||||
printf("%d", result);
|
||||
}
|
7
ended/C02-corr/ex05/ft_str_is_uppercase.c
Normal file
7
ended/C02-corr/ex05/ft_str_is_uppercase.c
Normal file
@ -0,0 +1,7 @@
|
||||
int main(void)
|
||||
{
|
||||
int result;
|
||||
|
||||
result = ft_str_is_uppercase("adfAec");
|
||||
printf("%d", result);
|
||||
}
|
8
ended/C02-corr/ex06/ft_str_is_printable.c
Normal file
8
ended/C02-corr/ex06/ft_str_is_printable.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
int result;
|
||||
|
||||
result = ft_str_is_printable("adfAec-- ");
|
||||
printf("%d", result);
|
||||
}
|
5
ended/C02-corr/ex07/ft_strupcase.c
Normal file
5
ended/C02-corr/ex07/ft_strupcase.c
Normal file
@ -0,0 +1,5 @@
|
||||
int main(void)
|
||||
{
|
||||
char str[] = "fFff";
|
||||
printf("%s", ft_strupcase(str));
|
||||
}
|
6
ended/C02-corr/ex08/ft_strlowcase.c
Normal file
6
ended/C02-corr/ex08/ft_strlowcase.c
Normal file
@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
char str[] = "fFffA";
|
||||
printf("%s", ft_strlowcase(str));
|
||||
}
|
6
ended/C02-corr/ex09/ft_strcapitalize.c
Normal file
6
ended/C02-corr/ex09/ft_strcapitalize.c
Normal file
@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
char str[250] = "salut, comment tu vas ? 42mots quarante-deux; cinqUante+et+un";
|
||||
printf("%s", ft_strcapitalize(str));
|
||||
}
|
8
ended/C02-corr/ex10/ft_strlcpy.c
Normal file
8
ended/C02-corr/ex10/ft_strlcpy.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
char ff[220];
|
||||
|
||||
ft_strlcpy(ff, "ffffff", 4);
|
||||
printf("%s", ff);
|
||||
}
|
Reference in New Issue
Block a user