I'm running this part in a test driver and not getting the right values.
SO,i know i have to create an if statement saying... if the first thing in my string is an operator..return invalid...
idk how to write that in code?? please help!!
Testing Part 4
This code wouldn't even compile, so I'm having a hard time seeing how it is being tested. If I assumed that commenting out line 78 was the correct thing to do to get it to compile, would I be correct?
what do you mean? could you be more specific please?
Presumably that was in response to:
What happens when line 25 evaluates to false?
And what I meant was: What happens when line 25 evaluates to false? What should happen when line 25 evaluates to false? The two things are not the same.
Line 34 is also suspect. Often looping on eof is not the correct thing to do.