Thread: Trouble with I/O

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Yay, thanks!

    Using .clear() function worked, I just had the ios::in/out backwards on my files. Thanks for recommending fstream too, its much better to use for this.

    Yah its working with all the ways to I/O because of that clear() function.. now I got a program to encrypt/decrypt files, add it to a win32 API and thats cool
    Last edited by Dae; 07-03-2005 at 02:07 AM.
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trouble with lesson 10 (File I/O)
    By sirconnorstack in forum C++ Programming
    Replies: 2
    Last Post: 05-28-2008, 05:20 PM
  2. trouble with file i/o program.
    By Pyroteh in forum C++ Programming
    Replies: 7
    Last Post: 01-09-2007, 10:29 PM
  3. Having file i/o trouble
    By LiKWiD in forum C++ Programming
    Replies: 1
    Last Post: 07-28-2004, 05:20 AM
  4. Replies: 4
    Last Post: 03-02-2003, 09:12 AM
  5. Overlapped I/O and Completion Port :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 10-30-2002, 05:14 PM