I am confused in tellg funtion can any body tell me its syntax also for seekg();.

tellg()

seekp()

You can read all about the other fstream methods here

If you are still confused after reading the above links please explain what you are confused about.

Thank you for your help . It is some thing best you have done for me.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.