Question: how would i create the following in c the questionbank...
How would I create the following in c++?
The QuestionBank Class
This class is a container class that is responsible for reading the input file and storing a list of questions.
- QuestionBank (std::string)
- This parameterized constructor accepts a filename as an std::string where the questions to be loaded reside.
- void LoadQuestions()
- This helper function should read the file and instantiate the questions one by one, adding them to the questionsvector.
- This function should return a question from the list for use by the Game class, described below.