Thoughts In Free Time

Wednesday, 21 June 2017

Java Calculator 2

Following previous post, I've fixed this - now is not nessessery to use fully paranthized expression; the operator precedence is set and can be changed using paranthesis. Instead of binary tree, I parsed expression to postfix - Reverse Polish Notation Rocks :).
Code, of course, on Github. Till the next time!
Posted by lion137 at 05:58
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

My sites

  • Daniel Lemire's blog
  • Shtetl-Optimized
  • Krebs on Security
  • Schneier on security
  • talkpython

About Me

lion137
View my complete profile

Blog Archive

  • ►  2020 (3)
    • ►  August (1)
    • ►  February (2)
  • ►  2019 (11)
    • ►  October (2)
    • ►  July (2)
    • ►  March (2)
    • ►  February (3)
    • ►  January (2)
  • ►  2018 (4)
    • ►  December (2)
    • ►  October (1)
    • ►  February (1)
  • ▼  2017 (22)
    • ►  August (4)
    • ►  July (1)
    • ▼  June (3)
      • Java Calculator 2
      • Calculator
      • Stackoverflow
    • ►  May (1)
    • ►  March (3)
    • ►  February (4)
    • ►  January (6)
  • ►  2016 (20)
    • ►  December (12)
    • ►  November (5)
    • ►  May (1)
    • ►  January (2)
Simple theme. Powered by Blogger.