I supposed from that code to print word by word from text file but there is something wrong with <<<<memset(cc, 0, sizeof cc);>>>>>
it give me like that
Post your entire code. From the look of those warnings, there may be a problem with the way you declared your variables.
You also don't ever null-terminate your array, putting a '\0' as the last character, so printf and anything else that uses strings won't know where it ends.
ok thank you all in advance I forgot to put i=0;
to start from the first location of char array but any way can anyone help me with that little freaky symble at the end of the word
What is this for?
%c means 'print one character that I passesd as an argument' but you passed no argument. It's going to print whatever garbage happens to be on the stack as %c.
Hello,
I am a newbie who is attempting to write a script to monitor a directory for a set of 3 files that I am expecting to get ftp'd. Occasionally, we suspend operations for maintenance etc. but we still get the files so there can be more than 1 set. If there is more than 1 set, I would like... (2 Replies)