I have a csv file or an excel file, which is a mix of numerical values and text information. For instance
1 Paragraph1
2 Paragraph2
In this file, the cell of (first row, first column) has a numerical value of 1; on the other hand, the cell of (first row, second column) stores a whole paragraph, which can be composed of multiple sentences.
I need to read this file into a matrix-like format, where each entry stores the information of corresponding cell. How to instantiate this kind of functionality in C++? Any hint will be greatly appreciated.

First, look at the actual CSV file and get a feel for the pattern of commas and quotes. Then figure out how you'd separate the data. Now how do you translate that into code?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.