Question: Language: C++ I have a css file called lego.csv and i need to read in the file and store the data into vectors so i
Language: C++
I have a css file called lego.csv and i need to read in the file and store the data into vectors so i can do calculations with them. The css file is shown below and i need to store all the numbers into a vector, all the themes into a vector, all the names into a vector, and so on.
lego.csv
Number, Theme, Name, Minifigs, Pieces, USPrice
7780, Batman, The Bat boat: Hunt for Killer Croc, 2, 188, 20
6867, Marvel Super Heroes, Lokis Cosmic Cube Escape, 3, 181, 19.99
70411, Pirates, Treasure Island, 3, 181, 19.99
1788, Pirates, Treasure Chest, 4, 159, 22
7038, Castle, Troll Assault Wagon, 4, 161, 19.99
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
