Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Language: C++ I have a csv 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 csv 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 csv 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 Batboat: Hunt for Killer Croc,2,188,20 6867,Marvel Super Heroes,Loki's 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions