Yes, I can see that behaviour now. It wasn't the right thing to do to take out all the "else"s. I think that for this, looking into switch statements is a good plan.
I can see what you were trying...
Type: Posts; User: smokeyangel
Yes, I can see that behaviour now. It wasn't the right thing to do to take out all the "else"s. I think that for this, looking into switch statements is a good plan.
I can see what you were trying...
Yes, I should have. Sorry about that.
Hehe. No. MSVC isn't that insane. I put main() in.
It runs ok for me. What's the problem? It generates "error" if I put in "k" for example. Maybe you want it to output "error, k is not a number" or something. If that's the case then you should...