#include <iostream> #include "QuestionT.h" using namespace std; std::string QuestionT::GetType()const { return type; } void QuestionT::SetType(std::string newType){ type = newType; } /* void QuestionT::AskQuestion() const { cout << " In QuestionT, I really don't have a question" << endl; } */ TFQuestionT::TFQuestionT() { SetType("True-False"); } void TFQuestionT::AskQuestion() const { cout << localQuestion << endl; } void TFQuestionT::SetQuestion(string question) { localQuestion = question; }