Hi everyone, i have just came home and fixed it, it was easy.

Thanks for all of your help though, i really appreciate it, it was such a nooby problem, i probably was to tired yesterday, anyway, here is the code, all i have to do is add a do while loop and there you have it, my OOP Calculator...

main.cpp

Code:

#include <iostream>
#include "Functions.h"
int main()
{
int choice;
double _Num1;
double _Num2;
double _Num3;
std::cout << "Welcome to my prototype Calculator with the basic functions" << std::endl;
std::cout << "of Addition, Subtraction, Multiplication and Division" << std::endl;
std::cout << "\nThis Calculator has the ability to Add, Subtract, Multiply" << std::endl;
std::cout << "and Divide 3 numbers as well as two" << std::endl;
std::cout <<"\nWhat would you like to do?" << std::endl;
calculator NewCalc;
NewCalc.Menu();
std::cin >> choice;
switch (choice)
{
case 1:
NewCalc.Multiply(_Num1, _Num2);
break;
case 2:
NewCalc.Multiply(_Num1, _Num2, _Num3);
break;
case 3:
NewCalc.Divide(_Num1, _Num2);
break;
case 4:
NewCalc.Divide(_Num1, _Num2, _Num3);
break;
case 5:
NewCalc.Add(_Num1, _Num2);
break;
case 6:
NewCalc.Add(_Num1, _Num2, _Num3);
break;
case 7:
NewCalc.Subtract(_Num1, _Num2);
break;
case 8:
NewCalc.Subtract(_Num1, _Num2, _Num3);
break;
}
return 0;
}

Funtions.cpp

Code:

#include <iostream>
#include "Functions.h"
calculator::calculator()
{
result = new double;
_Num1 = Num1;
_Num2 = Num2;
_Num3 = Num3;
}
calculator::~calculator()
{
delete result;
}
void calculator::Menu()
{
std::cout << "Multiply 2 numbers (1)" << std::endl;
std::cout << "Multiply 3 numbers (2)" << std::endl;
std::cout << "Divide 2 numbers (3)" << std::endl;
std::cout << "Divide 3 numbers (4)" << std::endl;
std::cout << "Add 2 numbers (5)" << std::endl;
std::cout << "Add 3 numbers (6)" << std::endl;
std::cout << "Subtract 2 numbers (7)" << std::endl;
std::cout << "Subtract 3 numbers (8)" << std::endl;
}
double calculator::Add(double Num1, double Num2)
{
std::cout << "Type in the 2 numbers that you wanted to Add together..." << std::endl;
std::cin >> Num1;
std::cin.ignore();
std::cout << "\n...And now the next" << std::endl;
std::cin >> Num2;
std::cin.ignore();
*result = Num1 + Num2;
std::cout << "\nResult: " << *result << std::endl;
}
double calculator::Add(double Num1, double Num2, double Num3)
{
std::cout << "Type in the 3 numbers that you want to Add together..." << std::endl;
std::cin >> Num1;
std::cin.ignore();
std::cout << "\n...And now the next" << std::endl;
std::cin >> Num2;
std::cin.ignore();
std::cout << "\n...And now the last" << std::endl;
std::cin >> Num3;
std::cin.ignore();
*result = Num1 + Num2 + Num3;
std::cout << "\nResult: " << *result << std::endl;
}
double calculator::Subtract(double Num1, double Num2)
{
std::cout << "Type in the 2 numbers that you want to Subtract from eachother..." << std::endl;
std::cin >> Num1;
std::cin.ignore();
std::cout << "\n...And now the next" << std::endl;
std::cin >> Num2;
std::cin.ignore();
*result = Num1 - Num2;
std::cout << "\nResult: " << *result << std::endl;
}
double calculator::Subtract(double Num1, double Num2, double Num3)
{
std::cout << "Type in the 3 numbers that you want to Subtract from eachother..." << std::endl;
std::cin >> Num1;
std::cin.ignore();
std::cout << "\n...And now the next" << std::endl;
std::cin >> Num2;
std::cin.ignore();
std::cout << "\n...And now the last" << std::endl;
std::cin >> Num3;
std::cin.ignore();
*result = Num1 - Num2 - Num3;
std::cout << "\nResult: " << *result << std::endl;
}
double calculator::Multiply(double Num1, double Num2)
{
std::cout << "Type in the 2 numbers that you want to Multiply together..." << std::endl;
std::cin >> Num1;
std::cin.ignore();
std::cout << "\n...And now the next" << std::endl;
std::cin >> Num2;
std::cin.ignore();
*result = Num1 * Num2;
std::cout << "\nResult: " << *result << std::endl;
}
double calculator::Multiply(double Num1, double Num2, double Num3)
{
std::cout << "Type in the 3 numbers that you want to Multiply together..." << std::endl;
std::cin >> Num1;
std::cin.ignore();
std::cout << "\n...And now the next" << std::endl;
std::cin >> Num2;
std::cin.ignore();
std::cout << "\n...And now the last" << std::endl;
std::cin >> Num3;
std::cin.ignore();
*result = Num1 * Num2 * Num3;
std::cout << "\nResult: " << *result << std::endl;
}
double calculator::Divide(double Num1, double Num2)
{
std::cout << "Type in the 2 numbers that you want to Divide..." << std::endl;
std::cin >> Num1;
std::cin.ignore();
std::cout << "\n...And now the next" << std::endl;
std::cin >> Num2;
std::cin.ignore();
*result = Num1 / Num2;
std::cout << "\nResult: " << *result << std::endl;
}
double calculator::Divide(double Num1, double Num2, double Num3)
{
std::cout << "Type in the 3 numbers that you want to Divide..." << std::endl;
std::cin >> Num1;
std::cin.ignore();
std::cout << "\n...And now the next" << std::endl;
std::cin >> Num2;
std::cin.ignore();
std::cout << "\n...And now the last" << std::endl;
std::cin >> Num3;
std::cin.ignore();
*result = Num1 / Num2 / Num3;
std::cout << "\nResult: " << *result << std::endl;
}

Funtions.h

Code:

class calculator
{
public:
calculator();
~calculator();
void Menu();
double Multiply(double Num1, double Num2);
double Multiply(double Num1, double Num2, double Num3);
double Divide(double Num1, double Num2);
double Divide(double Num1, double Num2, double Num3);
double Add(double Num1, double Num2);
double Add(double Num1, double Num2, double Num3);
double Subtract(double Num1, double Num2);
double Subtract(double Num1, double Num2, double Num3);
protected:
double _Num1;
double _Num2;
double _Num3;
double Num1;
double Num2;
double Num3;
double *result;
};

Critisicm welcome, i rushed through this so if i could make it better i would appreciate that help also, and thanks again.