Storing a CSV text file into a C Struct

I came across a problem where I wanted to grab some data off a CSV text file (see sample below)...