Im having trouble using arrays in my class Polynomial. It's a question from the Deitel & Deitel book, but I find that most books explain functions first, and [italic]then[/italic] arrays, followed by classes, which makes it difficult to understand how they interact together.
Anyway, I've been trying to have two private arrays ( everything was going fine 'till I realised that I had to store an array of values )
to store data of the polynomial expressions. The overloaded istream takes in the expression e.g 3x^2 + 2x +7, ignores the irelevant bits and does its job, but I can't even compile. A pointer is no good to me in this case. I don't even want to pass the arrays, the overloaded operators can do the dirty work for me.
"Will sing Tom Jones for help with programming"