This is a minimum working example of reading and parsing a CSV file in C++. This isn't the best way to do it, but it is one way. This could be improved a lot, just bear that in mind!
Two reasons, really:
- A short reference solution for UoL students who are stuck with CSV parsing in C++. This is by no means an exemplar solution, and is not intended as such -- the burden of expanding this and fixing its issues is on the student who decides to use it.
- I found out you can connect repl.it to GitHub! Isn't that awesome? You can commit directly from repl.it, edit your repositories and even run them. So cool!
Sure. During Semester B of 2021 I am available via Teams at:
- Monday: 9:00am => 11:00am
- Tuesday - Thursday: 17:00 onwards
- Friday: 9:00am => 11:00am
Drop me a message on teams, or email me for support: bwilliams@lincoln.ac.uk.