Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Holds the current position of the buffer pointer or file pointer.
typedef fpos<mbstate_t> wstreampos;
Remarks
The type is a synonym for fpos<mbstate_t>.
Example
// ios_wstreampos.cpp
// compile with: /EHsc
#include <iostream>
#include <fstream>
int main( )
{
using namespace std;
wofstream xw( "wiostream.txt" );
xw << L"testing";
wstreampos y = xw.tellp( );
cout << y << endl;
}
7
Requirements
Header: <ios>
Namespace: std