first commit
This commit is contained in:
5
ended/C03-corr/ex00/ft_strcmp.c
Normal file
5
ended/C03-corr/ex00/ft_strcmp.c
Normal file
@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
{
|
||||
printf("%d", ft_strcmp("zfz", "gfg"));
|
||||
}
|
5
ended/C03-corr/ex01/ft_strncmp.h
Normal file
5
ended/C03-corr/ex01/ft_strncmp.h
Normal file
@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
{
|
||||
printf("%d", ft_strncmp("abcde", "abcda", 5));
|
||||
}
|
10
ended/C03-corr/ex02/strcat.c
Normal file
10
ended/C03-corr/ex02/strcat.c
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
char ff[20] = "addfs f";
|
||||
char fl[20] = "adfda";
|
||||
|
||||
ft_strcat(ff, fl);
|
||||
printf("%s", ff);
|
||||
}
|
9
ended/C03-corr/ex03/strncat.c
Normal file
9
ended/C03-corr/ex03/strncat.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
char ff[20] = "addfs ";
|
||||
char fl[20] = "adfda";
|
||||
|
||||
ft_strncat(ff, fl, 9);
|
||||
printf("%s", ff);
|
||||
}
|
5
ended/C03-corr/ex04/ft_strstr.c
Normal file
5
ended/C03-corr/ex04/ft_strstr.c
Normal file
@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
int main(void)
|
||||
{
|
||||
printf("%s", ft_strstr("fffff lll", "ll"));
|
||||
}
|
Reference in New Issue
Block a user