Web programming >> java pocket calculator
Posted by Henning on 16:48:00 01-16-2002
Knows somebody
how i can make a Pocket Calculator


Help

Henning
Posted by KaGez on 07:38:00 01-18-2002
I think it should be rather the same as in C/C++ ... You get the variables from the user, let him choose what he wants to do with them, and then just let the comp calculate it.
I think you will be able to find a example on http://www.planetsourcecode.com or http://www.programmersheaven.com
. Good luck
[addsig]
Posted by craigbaxter on 05:08:00 01-25-2003
Sounds like a task we were given last year at uni as part of our java programming unit.

Designing the GUI (graphical user interface) isnt hard - java's really good at that kinda thing. Then all you have to do is make the buttons work so that it works like a calculator would.

When we were set this task I really enjoyed it - but be carefull - there's several places that you might get caught out.

Good luck, and enjoy,

Craig
Posted by KaGez on 10:57:00 01-25-2003
if you know GTK, you could also use php-gtk it's quite cool. I've played aroundwith it before a bit. Also, the easiness of php and GTK are combined, so there is probably nothing easier
[addsig]