PDA

View Full Version : Need Help With C++


sjaguar13
Mar1-04, 03:37 PM
I am having a problem with my homework assignment. It gets an illegal operator error and I don't know why. I've been in my teacher's office 3 times and sent numerous emails, but I still can't get it. Now, he's gone, and I have until midnight to turn it in for 10% off. I just want to know why it crashes on add, sub, and mult.

http://www.ceetus.com/program2.zip

chroot
Mar1-04, 05:12 PM
I looked at the polynomial::mult() method because it was the simplest. I don't see anything completely egregiously wrong, and I don't have the time to compile it. Can you tell us more about where it crashes? Can you run a debugger, or at least use some cout << statements to pinpoint what's failing?

- Warren