J'explique:
J'ai une classe POLYNOME qui a comme seul attribut un tableau de coefficient TABCOEFF
Je dois surcharger l'opérateur + ( avec 2 objets de ma classe
TPOLYNOME operator + (TPOLYNOME &P,TPOLYNOME Q)
Là je voudrais utiliser mon tableau
Le problème est:
si j'utilise mon TABCOEFF erreur car c'est un élèment en private
P.TABCOEFF[i]
si j'utilise un GETTABCOEFF(int indice) j'ai une autre erreur :
non-lvalue in assignment
P.GETTABCOEFF(i)
si vous avez une idée ca m'aiderai bcp
merci

