整数の動的配列を関数に渡していますが、機能させることができません。
int * tempP1;
tempP1 = new int [numP1+1];
電話:
Polynomial P1(numP1, tempP1);
プロトタイプ:
Polynomial(int tempNum, int * tempPoly);
働き:
Polynomial::Polynomial(tempNum, int *tempPoly)
エラー:
Undefined symbols for architecture x86_64:
"Polynomial::Polynomial(int, int*)", referenced from:
_main in ccDOuaGg.o
"Polynomial::~Polynomial()", referenced from:
_main in ccDOuaGg.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
どんな助けでも大歓迎です:)