I seem to be having a problem with text files and notepad that I never seen before. A text file
I create with a C program has suddenly decided not to recognise any "\n" charcters like before, so that
when opened (Notepad as default) the whitespace character box appears...where the new line should be.
A sample line of code (*fp is file pointer)
Result on win 2000 pro (work) it works okayCode:int Index = 0; for(Index = 0; Index < 10; Index++) fprintf(fp,"This is line : \n", Index);
This is line : 0
This is line : 1
This is line : 2...ect.
Whilst on win 98 SE at home is like this..
This is line : 0 This is line : 1 This is line : 2 This is line : 3 This is line : 4 This is line : 5...ect
only with the white space characters [box] in between each number and 'This'.
Has anyone ever seen this before, is there a simple fix...I have written many programs which produce
text files, this is the first time I have had this problem.