what is the algorithm and c prograion for notation change from infix to prefix and prefix evaluation
stacks in cinfix to prefix algorithm wanted
Page 1 of 1
2 Replies - 1063 Views - Last Post: 18 September 2010 - 10:52 PM
Replies To: stacks in c
#2
Re: stacks in c
Posted 18 September 2010 - 10:50 PM
Perhaps you could adapt the Shunting Yard algorithm.
#3
Re: stacks in c
Posted 18 September 2010 - 10:52 PM
The general algorithm used is called the Shunting-yard algorithm
It is not specific to C or C++.
Make sure you read the rules and please do not ask for code without showing your own attempts.
[rules][/rules]
It is not specific to C or C++.
Make sure you read the rules and please do not ask for code without showing your own attempts.
[rules][/rules]
Page 1 of 1
|
|

New Topic/Question
This topic is locked




MultiQuote







|