Forum: C Jul 14th, 2009 |
| Replies: 5 Views: 462 Use exit() function
http://www.cprogramming.com/fod/exit.html |
Forum: C Jul 14th, 2009 |
| Replies: 46 Views: 1,518 did you try debugging using gdb? |
Forum: C Jul 12th, 2009 |
| Replies: 9 Views: 841 That is just the reverse of the aforementioned algorithm.
Explanation- Scan the input string from left to right. Whenever you see an operand, just push it onto a stack. When you encounter an... |
Forum: C Jul 12th, 2009 |
| Replies: 9 Views: 841 The expression contains only operands. Where are the operators?
If you have a string in infix, ie. in form A+B, and you wish to have it in the form AB+, you can use the Shunting Yard Algorithm... |