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

cpp:stream_random_io [2019/05/21 04:16]
gthanos created
cpp:stream_random_io [2019/05/22 08:57]
gthanos [Μεταβολή της θέσης ανάγνωσης ή εγγραφής]
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.txt · Last modified: 2019/05/22 07:57 (external edit)