zCool

Answer.h

May 23rd, 2012
31
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data