This code was from a book and I was trying to compile it with VC++ Express.
And this is the error I get. I probably didn't include necessary files. I am new at C++ and I am still learning my way to libraries and such.
using namespace std;
int main (int nNumberofArgs, char * pszArgs);
//enter the temperature in celsius
cout <<"Enter the temperature in celsius: ";
cin >> celsius;
//calculate conversion factor for celsius to fahrenheit
factor = 212 - 32;
//use conversion factor to convert celsius into fahrenheit value
fahrenheit = factor * celsius/100 + 32;
//output the results (followed by an Newline)
cout <<"Fahrenheit value is: ";
cout <<fahrenheit <<endln;
//wait until user is ready before terminating program to allow the
//user to see the program results
'temp.exe': Loaded 'C:\Documents and Settings\Tangog\My Documents\Visual Studio 2005\Projects\temp\debug\temp.exe', Binary was not built with debug information.
'temp.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'temp.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
The program ' temp.exe: Native' has exited with code 0 (0x0).