How does copy constructor work?
问题 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 342\lab2\lab2\lab2\lab2.cpp 26 #include "intset.h" int main() { IntSet object1; IntSet object2(9); object1(object2); //error here return 0; } //constructor IntSet::IntSet(int a, int b, int c, int d, int e) { numOfArray++; int tempArray[] = {a, b, c, d, e}; size = determineHighest(tempArray) + 1; arrayPtr = new bool[size](); for (int i = 0; i