I tried the following and it didn't work and I can't figure this out
That's basically what I did but what the problem is there like 60 rows and 4 columns in the file. I only want to tally numbers from one column. For example one column is amount sold. I only want to assign numbers from that column to "count". Anyone PLEASE helpCode:double count, SalesID, modelCode ifstream in; while (!fin.eof()) { fin >> count sum+=count }