CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: Output File Issues

  1. #1
    Join Date
    Jul 2009

    Question 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?
    Attached Files Attached Files

  2. #2
    Join Date
    Apr 1999

    Re: Output File Issues

    Quote Originally Posted by chugdiesel View Post
    hey i have a bit of an issue with my code writing to a file.
    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?

    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).


    Paul McKenzie

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)