Hi all,
I have a file called Client.cpp, which has main() contained in it.
my problem is at the start of the file:
#include <iostream>
using namespace std;
#include "Student.h"
enum User { NO_USER = 0, STUDENT = 1, ADMIN = 2};
I get errors on the line with the enum, when I get rid of
#include "Student.h" the program works.
I know there is nothing wrong with the student class.
could it have something to do with the pre-processor?
any help is appreciated.
thanks.