Hello all,
Ok, I'm fairly good at C, (and was starting to think I getting decent at C++) but when it comes to overloading I seem to have missed the bus.
I'm trying to overload the [] operator and every time I use this operator it kicks into the overloaded function. My question is this: Is there a way to specify when I want to enter into the overloaded function?
As it stands right now the function I want to assign to the overload is that it will sort the array and according to supscript will kick out that element of the sorted array. Yet the way it is now even when I create the original array it goes in and tries to perform the overloaded function.
Any help would be appreciated greatly,
Strahan, BTW I have the general code down it's just help differentiating between fn calls I need help with.