wstreampos
承擔緩衝區指標或檔案指標的目前位置。
typedef fpos<mbstate_t> wstreampos;
備註
此型別是 fpos的mbstate_t>同義字。<
範例
// 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
需求
標題: <ios>
命名空間: std