ok so i created another file named Students.cpp.
Code:
Student::Student()
{
studentName = "NAME";
studentProgramCode = "CODE";
}
Student::Student(const string& name, const string& programCode)
Student::string getName()
{
return studentName;
}
}
I want to test if its working or not? but i keep getting errors:
--------------------Configuration: Assignment - Win32 Debug--------------------
Compiling...
Student.cpp
Prac1\Student.cpp(14) :
error C2039: 'string' : is not a member of 'Student'
prac1\student.h(22) : see declaration of 'Student'
any ideas?