This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
cpp:stream_random_io [2019/05/21 04:16] gthanos created |
cpp:stream_random_io [2019/05/22 07:57] (current) |
||
|---|---|---|---|
| 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"; | ||
| } | } | ||