I am reading from a file into an array of structures but when I try to read into the second and third members (cost and number) of the structure it tells me no matching function for call to 'getline'.
Here is what the File looks like,
Coca-Cola,0.75,20
Root Beer,0.75,20
Sprite,0.75,20
Spring Water,0.80,20
Apple Juice,0.95,20