hi there i am in the middle of a build for a convertion program but for some resen during the compiling i keep geting cout errors if somone culd take a look at it for me and give some feedback i wuld be verry gratefull
//
// Conversion - Program to convert temperature from
// Celsius degrees into Fahrenheit:
// Fahrenheit = Celsius * (212 - 32)/100 + 32
//
#include <cstdio>
#include <cstdlib>
using namespace std;
int main (int nNumberofArgs, char* pszArgs[])
{
// enter the temperature in Celsius
int celsius;
cout << "Enter the temperature in Celsius:";
cin >> celsius;
// calculate conversion factor for Celsius
// to Fahrenheit
int factor;
factor = 212 - 32;
// use conversion factor to convert Celsius
// into Fahrenheit values
int fahrenheit;
farenheit = factor * celsius/100 + 32;
//output the results (followed by NewLine)
count << "Fahrenheit value is:";
count << farenheit << end1;
// wate until user is ready before terminating the program
// to allow the user to see the program results
system("PAUSE");
return 0;
}
and the error coads are :
Conversion\main.cpp||In function 'int main(int, char**)':|
Conversion\main.cpp|15|error: 'cout' was not declared in this scope|
Conversion\main.cpp|16|error: 'cin' was not declared in this scope|
Conversion\main.cpp|26|error: 'farenheit' was not declared in this scope|
Conversion\main.cpp|29|error: 'count' was not declared in this scope|
Conversion\main.cpp|30|error: 'end1' was not declared in this scope|
Conversion\main.cpp|25|warning: unused variable 'fahrenheit'|
||=== Build finished: 5 errors, 1 warnings ===|
hi there it has helped puting iostream but i am still geting errers during the build
the errer this time is :||=== Conversion, Debug ===|
\Conversion\main.cpp||In function 'int main(int, char**)':|
\Conversion\main.cpp|26|error: 'farenheit' was not declared in this scope|
\Conversion\main.cpp|29|error: 'count' was not declared in this scope|
\Conversion\main.cpp|30|error: 'end1' was not declared in this scope|
\Conversion\main.cpp|25|warning: unused variable 'fahrenheit'|
||=== Build finished: 3 errors, 1 warnings ===|