How does a copy constructor work in c++
Error 1 error C2064: term does not evaluate to a function taking 1 arguments c:\\users\\thuan\\dropbox\\homework\\css
You've already constructed object1 with the default constructor when you do
object1
IntSet object1;
To copy consrtuct you need to change this to
IntSet object1( object2 );
at some point after defining object2 (you will probably want to swap the names of your two variables).
object2