Im having a bit of trouble reading CSVs. I have multiple types of data, so i am not sure how to get this to work:
string, string, bool, bool, int
I cant simply use >>
to read in the data since the deliminator is not whitespace. scanf
doesnt work, since it needs a human input, not file input, getline
only reads in strings and also includes the \n
char for some reason.
how can i read my csv properly?