everytime i use fwrite() to write a string into a TXT file, when i open it, i always see a lot of iiiiiiiiiiiiiiiiiis in the file. Is there any way to remove it?
i tot maybe its becos i wrote the entire structure into the file. but if i try writing a string into the file instead, it works and all the iiiiiiiiiiiiiis disappear. But after that when i want to use fread to retrieve each row of text, i cannot determine how large that row of text is and take out the required amount of data... can anyone help me pls?