ta rien a faire, c'est deja tout fait! la fonction int strncmp(const char *s1, const char *s2, size_t maxlen); renvoi 0 quand le debut(jusqu'a maxlen ou fin d'une chaine) est identique par ex: strncmp("huidklk","huidlm",4) renvoi 0 strncmp("huid","huidlm",4) renvoi 0 strncmp("hui","huidlm",4) renvoi 0
|