0_0_37349022_16194.cpp: In function 'int main()':
0_0_37349022_16194.cpp:15:25: error: 'num' was not declared in this scope
cout << "Trip #" << ++num << ": ";
^
0_0_37349022_16194.cpp: At global scope:
0_0_37349022_16194.cpp:19:2: error: expected unqualified-id before 'return'
return 0;
^
0_0_37349022_16194.cpp:20:1: error: expected declaration before '}' token
}
^
|