I use this program:
FILE * pFile;
pFile = fopen ("myfile.txt" , "w");
fprintf (pFile, " %s This goes in one line \rThis goes on the other line");
fclose (pFile);
RESULT EXPECTED:
This goes in one line
This goes on the other line.
Naturally it generates a txt file named MYFILE.TXT.
When I open the program using WORDPAD it works as expected.
But When I use the NOTEPAD this not work well.
What I should do to correct the problem the open the correct lines in the
NOTEPAD?
To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/c-prog/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
