Bonjour,
Quel est mon problème ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 #include <unistd.h> void ft_putchar(char c) { write(1, &c, 1); } void ft_putstr(const char *str) { int index; index = 0; while(str[index]) { ft_putchar(str[index]); index++; } } int main(void) { const char str; str = ["Blanche"]; ft_pustr(str); return(0); }
Partager