cpp:stream_random_io
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cpp:stream_random_io [2019/05/21 04:16] – created gthanos | cpp:stream_random_io [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 88: | Line 88: | ||
file.seekg (0, ios::end); | file.seekg (0, ios::end); | ||
end = file.tellg(); | end = file.tellg(); | ||
- | | + | |
cout << "file size is: " << (end-begin) << " bytes.\n"; | cout << "file size is: " << (end-begin) << " bytes.\n"; | ||
} | } |
cpp/stream_random_io.1558412202.txt.gz · Last modified: 2019/05/21 03:16 (external edit)