#ifndef _STUDENT #define _STUDENT #include #include using namespace std; class student { public: student( ); student(char * initName, int initId); char * getName( ); int getId( ); public: char name[25]; int id; }; student::student( ) { strcpy(name, "(Nobody)"); id = -1; } student::student(char * initName, int initId) { strcpy(name, initName); id = initId; } char * student::getName( ) { return name; } int student::getId( ) { return id; } #endif