Quote:
Originally Posted by BSIT07-01 well, just create a new class . something like this... Code: class calculator
{
private:
public:
} then move all functions to the public part of class ... then in main part create new object from class like this then where all functions are called in the main part of program . call them using Code: mycall.myfunction(); i think this should work... |
i we have o add constructors, then how should we do it??