it's telling me syntax error: identifier 'ifstream' and points to this part of the class:

public:
void readnum(ifstream &myFile); <--------------