July 28th, 2009, 09:40 AM
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?
July 28th, 2009, 03:20 PM
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).
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!