Associate
- Joined
- 12 May 2005
- Posts
- 1,777
I'm proud to present my best programming achievement ever. http://www.zen12084.zen.co.uk/fraction.exe
Unfortunately there are a few gaps in my C++ expertise. How do you stop it from "exploding" or "going mad" when you enter in say a letter into a numerical input using cin? I know scanf would eliminate the problem but I don't understand how to use it yet.
Unfortunately there are a few gaps in my C++ expertise. How do you stop it from "exploding" or "going mad" when you enter in say a letter into a numerical input using cin? I know scanf would eliminate the problem but I don't understand how to use it yet.