Hi all
I am having trouble writing a function in my string class that i have defined myself.
The definition of the method should be this:
my_string &erase(int starting_pos = 0, int ending_pos = size() );
that should erase the characters from the string starting at start_pos through the position ending_pos. returns the resultant string for cascading.
-thanks for help