csv_parse is a c library that will allow you to parse a csv file and use the data however you want to. It splits the file into rows and cols and has a couple useful functions to help you get data you might need out of the file.
An exmaple of how the program works can be found in src/demo/