User Tools

Site Tools


cpp:stream_random_io

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cpp:stream_random_io [2019/05/21 04:16] – created gthanoscpp: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();
-  myfile.close();+  file.close();
   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)