Well anyways..
I am writing a C++ Program in one of my College courses, and i seem to have hit a brick wall. The program hits a brick wall, it is supposed to take a Input of a temperature in Celsius and convert it to Kelvin.
I keep getting an error of an undeclared identifier ©.
Here is what i have so far.
#include "std_lib_facilities.h"double CtoK( double = c ){ cout << "Please enter a temperature to be converted into Celsius \n"; int c; cin >> c; double k = c + 273.15; return k;keep_window_open();}int main (){ double c=0; int d; cin >> d; double k = CtoK©; cout <<k<< endl ;}
With the following error:
d:\compsci\1104-02\projects\exercise5.4\exercise5.4\exercise5.4.cpp(6) : error C2065: 'c' : undeclared identifier
I am using Microsoft Visual Studio 2008 Pro. Any ideas whats going on?