Hi i'd be glad if u help me with write this program.
i want to write a polynomial program which it has a class that create 2 obj like this with useing linked list: (Ax^2y^3+Bx^4y^8+....)AND(ax^5y^1+....)
and after that multiply these 2 obj to each other and put the answer in the new linklist.(a is float and exponents are int )
i should overdoal << , >> , = , * ,(i,j)
HELP:this >> should be overloaded like this:for example we should inter
(Ax2y3+Bx4y8+...) AND (ax5y1+...)
(and wen we overload this we read first and ignore (1),again read again ignore with for loop up to finished all off them ...maybe when we push the inter key or when we see the null )
this * should overloaded like :{a1=(A*a) ,,, exp1=2+5 ,,, exp2=3+1 }and so on whith for loop....and also we should compare these new linklist exponents if some of them are the same ,then add their float part of them.
this = should overloaded like :after create the new linklist by * the 2 obj we should put them in new plase with this operator.
this (i,j) should overloaded like : after all we send i and j to the new linklist and after that x=i,,,y=j ,then we get the answer .
this << should overloaded like : again after create the new link list we shout cout it .... for example {(A*a)x7y4+...}
ok , thanks 4 reading this message and plz help me with this program.:)
lida