Quote:
Originally posted by jccharl
Here is the function header
const char* operator+=(const char [])
What I am having trouble with is, I need to return to array that this function receieves as an argument, so i need to return the part after the += sign, I have tried everything I could think of, any help would be great.
Thanks
You can't overload operators that work with just built-in types as you are attempting. You'd have to encapsulate at least one of those arrays in a class and then overload operators for that, otherwise it can't be done.