vc file io

This is a discussion on vc file io within the C++ Programming forums, part of the General Programming Boards category; my visual c++ 6 seems to not define ios_base::beg, cur and end, as used by ostream::seekp .. i am #including ...

  1. #1
    Registered User
    Join Date
    Jun 2004
    Posts
    26

    vc file io

    my visual c++ 6 seems to not define ios_base::beg, cur and end, as used by ostream::seekp .. i am #including <fstream.h>. is this right? these values don't even appear in the IDE thing that completes as you type..

  2. #2
    Registered User jlou's Avatar
    Join Date
    Jul 2003
    Posts
    1,088
    It works if you use the new, standard header file - <fstream>.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. opening empty file causes access violation
    By trevordunstan in forum C Programming
    Replies: 10
    Last Post: 10-21-2008, 11:19 PM
  2. Formatting the contents of a text file
    By dagorsul in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2008, 12:36 PM
  3. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 04:02 AM
  4. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM
  5. Simple File encryption
    By caroundw5h in forum C Programming
    Replies: 2
    Last Post: 10-13-2004, 10:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21