View previous topic :: View next topic |
Author |
Message |
LaBe1 Master Cheater
Reputation: 0
Joined: 14 Jun 2007 Posts: 380
|
|
Back to top |
|
 |
Chase Payne Grandmaster Cheater
Reputation: 1
Joined: 20 Mar 2008 Posts: 533
|
Posted: Sat May 01, 2010 2:57 am Post subject: |
|
|
If you still post here or not, how did you do the second version? Did you use arrays?
I cant make it as fancy as your second one but this is close as I can get...
http://pastebin.com/UDsXJ1cc |
|
Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sat May 01, 2010 6:36 am Post subject: |
|
|
Chase Payne wrote: | If you still post here or not, how did you do the second version? Did you use arrays?
I cant make it as fancy as your second one but this is close as I can get...
http://pastebin.com/UDsXJ1cc |
a good way of making a calculator is to set up the input of the calculator as a grammar or regex then code a lexer and parser for it. because there is very limited input, this is actually not a problem to do by hand. |
|
Back to top |
|
 |
|