Advertisement
zCool

Question.h

May 23rd, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1. #ifndef QUESTION_H
  2. #define QUESTION_H
  3.  
  4. #include <string>
  5. #include <vector>
  6. #include "Answer.h"
  7.  
  8. class Question
  9. {
  10. private:
  11.     std::string m_questionText;
  12.     std::vector<Answer> m_lstAnswers;
  13. public:
  14.     Question(std::string questionText, std::vector<Answer> lstAnswers);
  15.     bool isRightAnswer(int answeredNumber);
  16.     void displayAnswerOptions();
  17.     void displayQuestion();
  18.     std::vector<Answer> getAnswers() { return m_lstAnswers; }
  19.  
  20. };
  21. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement