----------------------------------- xtreemboarder Thu Nov 17, 2005 12:20 am Calculator (with buttons and crap like that) ----------------------------------- Made this a long time ago... enjoy :) ----------------------------------- beard0 Thu Nov 17, 2005 12:28 am ----------------------------------- It crashes if you hit two operators in a row. After returning a result, if an operator is the next key pressed, it should use the result as the first number (as it does), however, if a number is pressed, it should clear the result, and start over. It should not allow the user to enter more than one decimal. If the user enters a number, followed by equals, with no operator, it should return the number, not 0. It should omit leading 0s. Generally, numbers are right alligned. It's a start. ----------------------------------- Paul Sun Nov 20, 2005 11:57 am ----------------------------------- You can fix alot of that just with a "SYNTAX ERROR" :P ----------------------------------- beard0 Mon Nov 21, 2005 9:12 am ----------------------------------- You can fix alot of that just with a "SYNTAX ERROR" :P A syntax error means it doesn't even run. It ran. Those are logical errors. ----------------------------------- Clayton Wed Jan 11, 2006 6:39 pm ----------------------------------- can make this better by using GUI buttons, and what is the maple leaf for?i dont quite understand that but oh well not bad but there are some weak spots such as your calculator should be able to handle more than one operation in a row instead of just doing the last two other than that just needs some more user friendly features