Original Post
Hi all!
Here''s a interesting question...
Why is it that the following code outputs 13 and 10:
void WriteFile(char *newfile)
{
ofstream fout(newfile, ios::out);
fout.put((char)10);
fout.close();
}
It should only output 10! What''s going on? It''s probably just a simple mistake. Any help would be greatly appreciated!
reaper