I\'ve been trying to include a structure called \"student\" in a student.h file, but I\'m not quite sure how to do it.
student.h
My student.h file code c
You've only got a forward declaration for student in the header file; you need to place the struct declaration in the header file, not the .cpp. The method definitions will be in the .cpp (assuming you have any).
student