Not printing

Hello everyone. My code runs almost perfect, expect it wont print out the report marking, the first input by the user(you can see my execution results on the bottom of the code). Ive tried many things but i just can figure out where the problem lies. Thanks in advance.
1
2

Last edited on
Lines 8 - 18
1
2
3
4
5
6
7
8
9
10
11
12

private:

    string reportingMark;

    int carNumber;

    string kind;

    bool loaded;

    string destination ;

Try putting that on public?
Topic archived. No new replies allowed.