iostream - How do tellg() & tellp() work in C++? -


Why tellg () and tellp () always come together Are you And how can we differentiate them from each other?

They do not.

One indicates that the "received" cursor is in an input stream; The second indicates that the "put" cursor is in an output stream.

They are similar but are not linked internally, so the basis of your question is basically defective.

Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

php - Sorting an multidimension array using usort fails -

Simple file compression in C -