In the previous tutorial we explained how to do that in C#, now we will do that in C++.
So, create a Win32 C++ Console Application. This tutorial will be similar to the tutorial for writing to file in c++,
So, write this code
int main()
{
ifstream in;
in.open("text.txt");
char line[256];
while(in.getline(line, 256))
cout << line << endl;
in.close();
}
Here we read the file line [...]
{ Comments }

