I'm really sorry to bother you with a simple question. I'm doing an assignment with operator overloading at the moment & seem to not understand how operator+ should be used in regards to my program. I understand the point of it & how to get it when using ints/long/double/float...etc, but not when the only two available variables are a bool & a char array.
private: char digits; int number; bool plusSign; public: BigInt operator+(BigInt bi);
BigInt number1; BigInt number2(3484858); BigInt number3("89347893478349234045"); cout << number1 + number2 + number3 << endl;
Is it possible?
First off, thank you very much for whoever bothers even reading this & secondly "sorry for being such a noob".