aboutsummaryrefslogtreecommitdiff
path: root/c04/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'c04/main.c')
-rw-r--r--c04/main.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/c04/main.c b/c04/main.c
new file mode 100644
index 0000000..a165b3c
--- /dev/null
+++ b/c04/main.c
@@ -0,0 +1,20 @@
+#include <stdio.h>
+#include <string.h>
+#include "ex00/ft_strlen.c"
+#include "ex01/ft_putstr.c"
+#include "ex02/ft_putnbr.c"
+#include "ex03/ft_atoi.c"
+#include "ex04/ft_putnbr_base.c"
+#include "ex05/ft_atoi_base.c"
+
+int main()
+{
+ char *s1 = "jesuis7";
+ printf("%d\n", ft_strlen(s1));
+
+ char *s = "bonjour";
+ ft_putstr(s);
+ printf("\n");
+
+
+}