Output File Issues
hey i have a bit of an issue with my code writing to a file.
the code has all sorts of fout.write("word shenanigans"); type lines in it, and in other programs that i have written, they all work perfectly fine. But it seems that this latest project is the exception. No matter what i do, short of writing it in myself, since that would defeat the purpose of the project, it will not write the file, only create it.
Any ideas on what might be causing the problem or how to fix it?
Re: Output File Issues
What is "fout"? Not only is it unknown as to what this is, assuming it is some sort of stream class, where is the file name that is to be opened?
Originally Posted by chugdiesel
I see no indication at all that a file name is to be specifed, except for the commented out "setFileName" call (which means this is not a C++ standard stream class).