Voila,
tout est dans le titre, je ne parvient pas a comprendre pourquoi j'ai un bug
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
 
 
int i;
	for(i=0; ((num/=10) != 0); ++i);
 
	char *str;
	str = malloc(sizeof(char) * i);
 
	return str;
Merci