Jordan Posted August 13, 2013 Posted August 13, 2013 (edited) I watched a guide on how to make this, and I'm going to try and improve on it periodically to improve my java skills. Day 1 It successfully does your math! Day 2 So, I went through and found a better source to use. I didn't actually make it, but I liked it's style. Edited August 14, 2013 by Master Chief 1
Jordan Posted August 13, 2013 Author Posted August 13, 2013 Gotta make these button sizes all the same tomorrow!
Anne Posted August 13, 2013 Posted August 13, 2013 Very nice, will it have any cool stuff a normal computer calculator doesn't have?
Jordan Posted August 13, 2013 Author Posted August 13, 2013 Very nice, will it have any cool stuff a normal computer calculator doesn't have? Like what? Normal Calculators are beasts
Anne Posted August 13, 2013 Posted August 13, 2013 Very nice, will it have any cool stuff a normal computer calculator doesn't have? Like what? Normal Calculators are beasts Mine isn't However use your fantasy and make something cool thats different from a normal calculator.
Jordan Posted August 13, 2013 Author Posted August 13, 2013 Very nice, will it have any cool stuff a normal computer calculator doesn't have? Like what? Normal Calculators are beasts Mine isn't However use your fantasy and make something cool thats different from a normal calculator. I'll try. I'm not too creative doh.
Jordan Posted August 13, 2013 Author Posted August 13, 2013 So I see you've gotten it to work now. Good work! Add some more features maybe and I'll use it instead of my pre-installed calculator ;) Plan to add decimals, backspace and typing if I can.
Boots Posted August 13, 2013 Posted August 13, 2013 I watched a guide on how to make this, and I'm going to try and improve on it periodically to improve my java skills. Day 1 It successfully does your math! Are you using infix to postfix conversion with the use of stacks?Otherwise doing the math will become a clusterfuck when youre not doing single operator conversions. You also need to push the postfix conversion into a binary tree the choose a traversal method, otherwise it will be a lot of hardcoding. Heres an examples of what they made us create in university after the postfix conversion is done everything is pushed into a binary tree in nodes then a bst search is applied and the correct mathematical rules are followed