1. As OriginalGriff already indicated in Solution 2, fix this line:
<< endl << " Kredit: " << start_menu().s_change() << "Kr" << endl
2. Fix this line:
a.do_choice(choice);
Neither '
a
' nor '
do_choice(char)
is declared anywhere. You need to declare symbols before you can use them.
E. g. you may declare the function at the top like this:
void do_choice(char);
and later, ommitting the '
a.
' prefix, call it as
do_choice(choice);
Of course, you still have to define the function somewhere.
3. As indicated before (see solution 4), change this line:
}while((a.choice != 'Q') || (a.choice != 'q'));
to
}while((choice != 'Q') && (choice != 'q'));