Advertisement
zCool

Answer.h

May 23rd, 2012
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #ifndef ANSWER_H
  2. #define ANSWER_H
  3. #include <string>
  4. class Answer
  5. {
  6. private:
  7.     std::string m_answerText;
  8.     bool m_isCorrectAnswer;
  9. public:
  10.     Answer();
  11.     Answer(std::string answerText, bool isCorrectAnswer);
  12.     bool getisCorrectAnswer() { return m_isCorrectAnswer; }
  13.     std::string getAnswerText() { return m_answerText; }
  14. };
  15.  
  16. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement