Hi all,
I need help turning this:
W = 35.74 + 0.6215t - 35.75 (v0.16) + 0.4275t(v0.16)
into code. I guess the real problem is the how to turn v to the .16th power using this function:
double pow(double x, double y)
I know how to open a file with c++ but not how to read a file with numbers and spaces between.
like:
while (theFile >> number)
{
reads the numbers it doesn't read the number after white space. How can I code it to do so?
Thanks!