Alot of the code you have written could be coded simplier in the way people have already pointed out but I wanted to say on addtional thing, don't put function into header files as they directly inserted into the file which includes them so this will sooner or later cause you some trouble.
Also the idea of functions is to minimize code in cases some job has to be done more than once or with different values, making a function for a something which is just done once or just a few lines of static code isn't worth to be made a function. ( open() and open2() for example ).
It's also a good idea to keep the main.cpp simple, best would be only having the main() function in there.
I would use a 2D/3D array fo the questions/answers and I would do it like that:
CODEÂÂÂÂÂÂÂÂ...
ÂÂÂÂÂÂÂÂ#define MAX_QUESTIONS 2
ÂÂÂÂÂÂÂÂint select, answer;
ÂÂÂÂÂÂÂÂcin >> select;
ÂÂÂÂÂÂÂÂif( select >= MAX_QUESTIONS )
ÂÂÂÂÂÂÂÂÂÂÂÂfail();
ÂÂÂÂÂÂÂÂint CurrentQuestion=0;
ÂÂÂÂÂÂÂÂchar *Questions[2][2] = {
ÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"Who?",
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"Where?",
ÂÂÂÂÂÂÂÂÂÂÂÂ},
ÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"When?",
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"Why?",
ÂÂÂÂÂÂÂÂÂÂÂÂ},
ÂÂÂÂÂÂÂÂ};
ÂÂÂÂÂÂÂÂchar *Answers[2][2][2] = {
ÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"1. He",
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"2. She",
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ},
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"1. There",
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"2. Here",
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ},
ÂÂÂÂÂÂÂÂÂÂÂÂ},
ÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"1. Now",
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"2. Later",
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ},
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"1. Love",
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"2. Money",
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ},
ÂÂÂÂÂÂÂÂÂÂÂÂ},
ÂÂÂÂÂÂÂÂ};
ÂÂÂÂÂÂÂÂwhile( CurrentQuestion < MAX_QUESTIONS )
ÂÂÂÂÂÂÂÂ{
ÂÂÂÂÂÂÂÂÂÂÂÂcout answer;
ÂÂÂÂÂÂÂÂÂÂÂÂDoCheck( select, answer );
ÂÂÂÂÂÂÂÂ}