The Microsoft Input/Output Stream Classes (iostream.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
ostream::tellp
ostream                                     Up Contents Index Back
──The Microsoft iostream Classes────────────────────────────────────────────
 
  streampos tellp();
 
  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.
 
  Return Value
 
  A streampos type that corresponds to a long.
 
  See Also
 
  ostream::seekp, istream::tellg, istream::seekg
 
 
                                     -♦-