if i write c++ like this code, write the value to file.
Then,how can i set the pointer back to the beginning of file that i have just written it.
Code:#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int a = 10;
fstream aTa("Data_Check.txt",ios::out);
for(int i=0;i<a;i++0)
aTa << i;
return 0;
}