C++ Reading file backwards from the end of the file
I am trying to write a program with a menu that reads from a text file a few different ways. I'm just working on menu option #2 still (reading backwards from the end of the file), but I can't wrap my head around what I'm doing wrong. I've been at this for a few days now and just can't find any good resources to help on this. Any help would be appreciated. #include <iostream> #include <string> #include <iomanip> #include <istream> #include <math.h> #include <fstream> using namespace std; const int SIZE = 20; typedef char String[SIZE]; //prototypes void Menu(int &); void ReadFile(ifstream &);