Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef QUESTION_H
- #define QUESTION_H
- #include <string>
- #include <vector>
- #include "Answer.h"
- class Question
- {
- private:
- std::string m_questionText;
- std::vector<Answer> m_lstAnswers;
- public:
- Question(std::string questionText, std::vector<Answer> lstAnswers);
- bool isRightAnswer(int answeredNumber);
- void displayAnswerOptions();
- void displayQuestion();
- std::vector<Answer> getAnswers() { return m_lstAnswers; }
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement