// *********************************************************************** // NOTE: I had to put this together to get the Teacher class working. // Feel free to use this file or not, but please note that the // Teacher.h/.cpp files depend on these exact functions and // function names, so please use these names in the final class. // // Thanks! -Andrew // *********************************************************************** #include #include "Questions.h" using namespace std; #ifndef STUDENT_H #define STUDENT_H class Student { public: //Default constructor for only a username Student(); Student(string userNameIn); // Default constructor for a username and level Student(string userNameIn, int levelIn); // Accessors int getLevel(); string getUserName(); const bool getMenuActive(); //Student functions. void displayMenu(); //Display menu; show the current level, option to practice or log out. //menu options void practice(); //Practice: referenced with the questiones.h file, ask questions until they ge 3-5 right. //Practice: present the option to enter testing mode. //Practice: if yes. enter testing mode as bellow, if no. continue practicing for another 3-5 questions. void testingStage(); //Testing Stage: same difficulty questions, and they will be given a set number of them (10, 15, 20) //Testing Stage: congratulate if they get enough right. increment dificulty level. //Testing Stage: exit testing mode and go back to menu. // Mutators void setLevel(int levelIn); void setUserName(string userNameIn); private: bool studentMenuActive = 1; string userName; int level = 1; Questions questionAsk; }; #endif //STUDENT_H