Advertisement

seekg() and seekp()

Started by September 06, 2000 06:46 AM
-1 comments, last by GeniX 24 years, 3 months ago
Now I am totally confused. It would appear that a call to seekg() yields a change in the position of the writing cursor. If I
    
cout << file.tellp() << " ";
file.seekg( 0,ios::beg );
cout << file.tellp() << endl;
    
yields a change in the writing cursors position in the file! ? huh? regards, GeniX
regards,GeniXwww.cryo-genix.net

This topic is closed to new replies.

Advertisement