Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef ANSWER_H
- #define ANSWER_H
- #include <string>
- class Answer
- {
- private:
- std::string m_answerText;
- bool m_isCorrectAnswer;
- public:
- Answer();
- Answer(std::string answerText, bool isCorrectAnswer);
- bool getisCorrectAnswer() { return m_isCorrectAnswer; }
- std::string getAnswerText() { return m_answerText; }
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement