Classes and passing values into them

Hi I'm trying to practice making a class in separate files.

Eg. main(), Temperature.h, Temperature.cpp
I'm trying to pass a user input value say 10 degrees and have the function return the correct conversion to farenheit.

Can someone point me in the right direction?
#include <iostream>
#include "Temperature.h"
using namespace std;
int main()
int celcius;
cout<< "Celcius To Farenheit Program" << endl << "Enter value to convert:" << endl;
cin >> celcius;
Temperature value;
return 0;
Just proceed as if you defined the class inside this file.
Topic archived. No new replies allowed.