SHARE
TWEET

Question.h

zCool May 23rd, 2012 6 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top