i have a question about having a separate text file used for a program
so the problem is that there is a text file that has measurements in it that i need to use to put into an equation.
i dont know where to start and how to know that the numbers in the text file are going to go in the equation i give
for example
the text file is called "numbers.txt"
i think that i need to write something like
ifstream indata ("numbers.txt"); to put in the numbers for the program
but however i need each number in the text file to be computed into an equation such as the mean of the values of the numbers.