How can I call an argument of a member function from another member function?
Here is the two prototypes of member function from a class:
Code:int my_string::strcmp(const my_string& s1);For example, i want print out the s1 value from the member function strcmp in the member function print. So how can i call that value and cout in member function print?Code:void my_string::print(int n);