This can be tricky depending on the cleanliness of the CSV.
Was it created manually, or with Excel?
Will there be commas in quoted fields?
What compiler are you using?
What techniques are you not allowed to use?
The datas are created by software. the values are like, for example like 3,32 ; 0 ; 22,00 ; 0,2.
it has multiple rows and columns.
i want to read particular set of values from a particular column depending on predefined condition( < or > ).
regarding the techniques, im allowed to use anything.
My technique uses C++/CLI, the System.Core reference and the System, System::Collections::Generic, System::IO and System::Linq namespaces.
I would use the File::ReadAllLines() method to read the entire file at once.
I would then use the Enumerable::Select() method to take each row and pass it off to a method that Splits the row by commas and convert the entire collection into a List of array of strings List<array<String^>^>^ or an array of array of strings array<array<String^>^>^
At that point, I could have access to any of the elements like a two-dimensional array.