Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~187 People Reached
Favorite Forums
Favorite Tags
c x 3
Member Avatar for traced

cant understand much this is the code [CODE] { char *tok, *str; str = calloc (50, sizeof(char)); tok = strtok(str1, " "); while(tok) { if(strcmp(tok,str2)!=0) { strcat(str, tok); strcat(str, " "); } tok = strtok(NULL, " "); } strcpy(str1, str); return str; } [/CODE] what is the function of while(tok) …

Member Avatar for Salem
0
83
Member Avatar for traced

i need help about the String codes.... its about how to delete a string.. like for example it displays like "The Dogs and Cats" the program wants the user to choose what to delete like i want to delete the Dogs.... and the result is now "The and Cats" cause …

Member Avatar for WaltP
0
104