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.
Expand|Select|Wrap|Line Numbers
- NF39 FEO, Mr George Thomas, 29 Gillian Road, Safeways, Red, 5, 92, Normal Bus, -
Expand|Select|Wrap|Line Numbers
- //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!