C++

Objectives :

  • myofstream_seekg1.cpp
    tellg_location = isf1.tellg();
    isf1.seekg (0, ios::beg);
    remainder = tellg_location % buffer;;
  • put : pointer point to the next character.
  • Code: myofstream_seekg1.txt
 

Step: 1 Create a source file.

 

Step: 2 Edit and save Source file

Step: 3 Runtime Views:

Step: