Skip to content

Commit 07180e7

Browse files
author
Colin Robertson
authored
Merge branch 'master' into master637405443297845198
2 parents 3f0c1dc + 888d3ed commit 07180e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/standard-library/ios-typedefs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ int main( )
6161
ofstream x( "iostream.txt" );
6262
x << "testing";
6363
streampos y = x.tellp( );
64-
cout << streamoff(y) << '\n';
64+
cout << streamoff( y ) << '\n';
6565
}
6666
```
6767
@@ -143,7 +143,7 @@ int main( )
143143
wofstream xw( "wiostream.txt" );
144144
xw << L"testing";
145145
wstreampos y = xw.tellp( );
146-
cout << y << endl;
146+
cout << streamoff( y ) << '\n';
147147
}
148148
```
149149

0 commit comments

Comments
 (0)