So, I've managed to do this far and almost, almost done except for this one problem.
The output should be -- CAR = Toyota but instead I got this CAR = (2,3).
The output should be the type of the CAR in string, not some numbers. But I can't seems to figure out how to do this because if I change the variable x,y in the class CAR to string, it will result in an error.
I tried to use the the _ttoi() but there were several errors.
error: 't' is not a type|
|error: ISO C++ forbids declaration of 'atoi' with no type [-fpermissive]|
|error: cannot convert 'char (*)' to 'char*' in initialization|
||=== Build finished: 3 errors, 1 warnings (0 minutes, 0 seconds) ===|