Basically I need to overload the operators for boolean and double. For boolean I need to overload &&, ||, and << For double I need to overload: + - * / ^ && || << Here is the boolean.h file
#ifndef BOOLEAN_H
#define BOOLEAN_H
#include "iostream";
using namespace std;
class Boolean {
public:
Boolean();
Boolean(const Boolean& orig);
virtual ~Boolean();
//overload the &&, ||, and << operators here.
private:
};
#endif
Here is the double.h file
#ifndef DOUBLE_H
#define DOUBLE_H
class Double {
public:
Double();
Double(const Double& orig);
virtual ~Double();
private:
};
#endif