BigInteger Class Implementation Overload operator '+'
问题 I want to create a bigInteger class that uses arrays in backend. BigInt a = 4321; // assume in BigInt class: array is {4,3,2,1} BigInt b = 2131; // assume in BignInt class: array is {2,1,3,1} BigInt sum = a + b; // array {6,4,5,1} I wrote this function to overload '+' operator to add the two numbers int* operator+(const uint32& other) const{ uint32 sum[n]; for(int i=0; i<n; i++){ sum[i] = (*this[i]) + other[i]; } return sum; } but it doesn't work. Note : assume the array size to be fixed. My