Please use code tags when posting code, to make it readable:
http://www.cplusplus.com/articles/z13hAqkS/
You haven't told us the line number that's generating the error, but it's pretty obviously this one:
W = (13.12 + 0.6215 * T - 11.37* V (0.16) + 0.3965* T * V (0.016));
You've defined
V as a
double, i.e. a floating point number, so the expression
V (0.16)
makes no sense. That syntax is what you'd use for calling a function.
If you want to raise a number by a power, you should use the standard library function
std::pow() :
http://www.cplusplus.com/reference/cmath/pow/
EDIT: Also, that
W = ...
is problematic. You haven't defined a variable called
W within the scope of the function. That
W will be interpreted as the name of the function, which is an rvalue, and can't have a value assigned to it.
Also, you've defined the function
W() as returning a double, but the only return statement returns an integer, 1. Did you intend for it to return the result of the calculation?
Also, nowhere in your code do you ever actually call your
W function. It won't do anything if you never call it!