ostream::tellp

streampostellp();

Return Value

A streampos type that corresponds to a long.

Remarks

Gets the position value for the stream. Not all derived classes of ostream need support positioning. For file streams, the position is the byte offset from the beginning of the file; for string streams, it is the byte offset from the beginning of the string. Gets the value for the stream’s put pointer.

ostream OverviewOutput Stream Classes

See Also   ostream::seekp, istream::tellg, istream::seekg