Hello,
I have been browsing the forums for a while trying to find the proper way of using "get" or "getline" to retrieve data from a file. Unfortunately to no avail. I am trying to gather integer data from a file. I am to add all int's in the file, count the int's(I have no idea how to do this), and then find the average of the sum of said int's. I tried to use get(dataFile, int), and int get (dataFile, '\n'). I did well early on in my class but now I'm just getting further behind. Any and all help is greatly appreciated. Thanks.