Well I've started
C++. I've tried 2 different compilers, Borland C++BuilderX personal edition and DevC++ and I get the same error messages when I try and compile my code. They tell me that certain files are missing, I've tried 2 different books but neither one of them point to this particular problem so I'm stuck. Here is my code and the error message form my last attempt. Can some one explain to me how I can correct the problem?
Code:
//Conversion - convert temperature from Celsius degree to Fahrenheit degree
units:
Fahrenheit = Celsius * (212 - 32)/100 + 32
#include <cstidio>
#include <csdlib>
#include <iostream>
using namespace std;
int main(int nNumberofArgs[])
{
// enter the temperature in Celsius
int nCelsius;
cout << "Enter the temperature in Celsius:";
cin >>nCelsius;
// calculate conversion factor for Celsius
// to Fahrenheit
int nFactor;
nFactor = 212 - 32;
// use conversion factor to convert Cesius
// into Fahrenheit values
int nFahrenheit;
nFahrenheit = nFactor * nCelsius/100 + 32;
// output the results
cout << "Fahrenheit value is:";
cout << nFahrenheit;
cout << end1;
// wait until user is ready before terminating program
system("Pause");
return 0;
}
Errors;
4 c:\mydocu~1\c__com~1\tempco~1.cpp
cstidio: No such file or directory
5 c:\mydocu~1\c__com~1\tempco~1.cpp
csdlib: No such file or directory
Any ideas?
I've followed the books instructions to the letter and have rechecked my code severals times and can't see anything that I've done wrong.
