1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Need Help With C++

  1. Mar 1, 2004 #1
    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
     
  2. jcsd
  3. Mar 1, 2004 #2

    chroot

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    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
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Need Help With C++
  1. C++ help (Replies: 2)

  2. Help with part c? (Replies: 6)

  3. Need Help! (Replies: 1)

Loading...