Hi all,
I am having a problem where the user must enter the file which they would like to open, which displays information about vehicle details that have been stored as CSV.
As the code below is in the main file, when I used include "CarC" infront of this information it was displayed;
But when the information is displayed on the screen, it includes "CarC" infront of the registration. Could any solve this mistery?
Thanks in advance!
I am having a problem where the user must enter the file which they would like to open, which displays information about vehicle details that have been stored as CSV.
Code:
NF39 FEO, Mr George Thomas, 29 Gillian Road, Safeways, Red, 5, 92, Normal Bus, -
Code:
//4 routines to create & populate various vehicles from csv string CarC* buildC(string dataLine); BusB* buildB(string dataLine); LorryL* buildL(string dataLine); MotorbikeM* buildM(string dataLine); //4 routines to display various vehicles on std::cout void displayC(CarC* cPtr); void displayB(BusB* bPtr); void displayL(LorryL* lPtr); void displayM(MotorbikeM* mPtr);
Thanks in advance!
Comment