Ok, so I have two classes. One of them is called WordQuizFile and the other is called WordQuiz. WordQuiz owns a WordQuizFile as a private member, like this:
<code>
class WordQuiz
{
private:
WordQuizFile wqf;
public:
WordQuiz(char* wqfilename);
//other irrelevant member functions
~WordQuiz();
};
</code>
The problem is that the constructor for WordQuizFile has to take an argument(the name of the file). How can I do this??