int func(char* string, char from, char to)
{
int result = 0;
if(!string) return 0;
// ...
}
i don't know whether this if-statement is checking, that the given string is empty or NULL. I tried to check it but I didn't receive a clear answer.
Aucun commentaire:
Enregistrer un commentaire