Home » Ask & Discuss » Board Exams - CBSE, ICSE, State Boards » Computer Science « Back to Discussion



Computer Science

Anshul Jangalwa's Avatar
Scorching goIITian

Joined: 27 Sep 2007
Post: 211
23 Mar 2009 11:56:03 IST
0 People liked this
1
274 View Post
COMP SCIENCE, FILE HANDLING
None

Plz tell how to complete the modify() function ,

Also tell how to use seekg, seekp function.

NOTE:  u have to consider any existing file.


Share this article on:

Comments (1)

SRIKSHADY - Determined & self-motivated for IIT's Avatar

Blazing goIITian

Joined: 19 Jan 2008
Posts: 360
23 Mar 2009 20:25:18 IST
0 people liked this

The most common forms of the functions are:-

seekg() - istream & seekg(long) ;

    istream & seekg(long, seek_dir) ;

seekp() – ofstream & seekp(long) ;

                ofstream & seekp(long, seek_dir) ;

(seek_dir takes the definition enum seek_dir { beg, cur, end } ;

 




Quick Reply


Reply

Some HTML allowed.
Keep your comments above the belt or risk having them deleted.
Signup for a avatar to have your pictures show up by your comment
If Members see a thread that violates the Posting Rules, bring it to the attention of the Moderator Team
Free Sign Up!

Preparing for IIT-JEE ?

Arihant Revision Package for IIT JEE - Books, Practice Tests + Rank Predictor


@ INR 1,995/-

For Quick Info

Name

Mobile No.

Find Posts by Topics

Physics.

Topics

Mathematics.

Chemistry.

Biology

Parents

Board

Fun Zone

Sponsored Ads