How come when i try to compile this program im writing i get string does not name a type? the program is just a simple program where someone enters a the player name with salary and stuff.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//This is the header file
#include <string>
#ifndefine SALARY_H
#define SALARY_H
class salary{
private:
string playername = "";
longint salary;
longint contract;
public:
}