comp.lang.ada
 help / color / mirror / Atom feed
* Calculator and Operator Precedence
@ 2002-02-19 16:26 jon
  2002-02-19 17:24 ` Stephen Leake
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: jon @ 2002-02-19 16:26 UTC (permalink / raw)


i ve built a basic calculator which asks user for expression using a
console.

eg

Enter expression : 1 + 2 + 3 * 4

now i need to make it so it can handle Operator Precendence

whats the best way of doing this ? Arrays ?




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-02-25  9:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-19 16:26 Calculator and Operator Precedence jon
2002-02-19 17:24 ` Stephen Leake
2002-02-19 20:00 ` Matthew Heaney
2002-02-20  8:03 ` Phil Thornley
2002-02-20 15:28   ` Jon
2002-02-20 15:45     ` John English
2002-02-22 16:10       ` Steven Deller
2002-02-22 16:55         ` Jean-Marc Bourguet
2002-02-25  9:17           ` Dmitry A. Kazakov
2002-02-22 20:14         ` Vadim Godunko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox