quick question on direct file access

This is a discussion on quick question on direct file access within the C++ Programming forums, part of the General Programming Boards category; Hi, 1. What's the difference between seekg() and seekp()? 2. Any good tutorials on direct file access online? I'm trying ...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    8

    quick question on direct file access

    Hi,

    1. What's the difference between seekg() and seekp()?

    2. Any good tutorials on direct file access online? I'm trying to finish an assignment using DFA, but I'm trying not to be TOO lazy about it (i.e. getting someone here to do it for me)...

    Thanks

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    seekg() seeks an input position in file. seekp() seeks an output position in file.

    Kuphryn

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    8

    Thanks!

    Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 01:13 AM
  2. File I/O Question
    By Achy in forum C Programming
    Replies: 2
    Last Post: 11-18-2005, 12:09 AM
  3. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 04:39 AM
  4. Quick Question on File Names and Directories
    By Kyoto Oshiro in forum C++ Programming
    Replies: 4
    Last Post: 03-29-2002, 02:54 AM

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