exception class
Hi,i have an error on this class:
1 2 3 4 5 6 7 8 9
|
#include <exception>;
class StudentAdding: public exception { //exception - Error: not claas or struct name.
public:
StudentAdding(){}
virtual const char* what() const {
return "Failed to add student.";
}
};
|
any reason why ?
problem fixed, thnx
Topic archived. No new replies allowed.