30 lines
No EOL
496 B
C++
30 lines
No EOL
496 B
C++
#ifndef H_TCLI
|
|
#define H_TCLI
|
|
|
|
// Includes
|
|
#include <base.h>
|
|
#include <tester/question.h>
|
|
#include <tester/quiz.h>
|
|
|
|
// Classes
|
|
class Tester_CLI{
|
|
private:
|
|
// Variables
|
|
|
|
// Functions
|
|
|
|
public:
|
|
// Variables
|
|
|
|
// Constructor
|
|
Tester_CLI();
|
|
|
|
// Functions
|
|
void AskQuestions(Quiz quiz, int num);
|
|
|
|
static int Letter2Number(const char* letter);
|
|
void DisplayQuestion(int index, int qmax, std::string title, Question* question);
|
|
void DisplayScore(Score score, std::string title);
|
|
};
|
|
|
|
#endif |