I keep getting error c2064: term does not evaluate to a function taking 1 arguments. This is described as not pointing to a function. Doesn't Celsius point to the function? Searching didn't help because I couldn't find the type code I need.
Code:#include <iostream> #include <conio.h> using namespace std; int main() { float FtoC, Farenheit; float Celsius(float); cout << "please enter the temperature in Farenheit: "; cin >> Farenheit; cout << endl; FtoC = Celsius(Farenheit); cout << endl; cout << FarenheittoCelsius; getch(); return 0; } float Celsius(float F) { return 5(F - 32) / 9; }



LinkBack URL
About LinkBacks


