im quite new to code and are using c++ to read files. Through some examples
i have managed to read a file from top to bottom like this.
The problem is that i will need to read the file from bottom to top instead.
Is there a reversable method for this.
I know I could use vectors to reverse the information but the files are very large.
Any help would be appreciated.
StreamReader^ sr = gcnew StreamReader("TestFile.txt");
String^ line;
while (sr->Peek() >= 0)
{
line = sr->ReadLine();
}