i made a project file in dev c++ and i created a header file with a class inside(called pstudent.h) and another file named pmain.cpp, in my pmain.cpp i try to make a object called rod,,like this
but it said function is undeclared, i put the header file in the same project as pmain.cpp...how would i get this to work without putting pstudent.h class inside my pmain.cpp?Code:pstudent rod;