Does anyone know any code to union 2 sets?
I have a prototype in my header file of:
I want to union array c and b and am calling the function by:Code:IntegerSet& unionSet( IntegerSet& otherSet );
What code could I use to combine into 1 array in the .cpp file, returning a reference to the array?Code:c.unionSet( b );