![]() |
Re: InFix to PostFix and PostFix expression evaluation.
Nice Job
|
Re: InFix to PostFix and PostFix expression evaluation.
Quote:
|
Re: InFix to PostFix and PostFix expression evaluation.
I would love to see the programs that changes infix to postfix and then evaluates it in C++ not in C. Could you give it to me or post it or soemthing i am anxious to see it, thanks!
|
Re: InFix to PostFix and PostFix expression evaluation.
Quote:
|
Re: InFix to PostFix and PostFix expression evaluation.
Here is what i got i need the main, i want two functions that you did the one that changes infix to post fix and one that evaluates, i am really stuck can you pleaseeee help me!
Here is my .h Code:
#include <iostream>Code:
#include<iostream>Code:
#include "stack.h" |
Re: InFix to PostFix and PostFix expression evaluation.
What you are trying to do is have some classes but don't know how to call them. How did you get the classes? If you got from somewhere I am sure they will have the sample implementation as well.
|
Re: InFix to PostFix and PostFix expression evaluation.
if i am trying to use more than four variables in postfix expression, output is not coming to me.
for ex: ab+ cd+* can u guide me sorry if i am wrong |
Re: InFix to PostFix and PostFix expression evaluation.
Copy the code into your compiler (I have used MS VC 6)
Run the Program and enter you will see the following text Code:
Enter an infix expressionCode:
(a+b)*(c+d)Code:
infix = (a+b)*(c+d)Code:
(a+b)*(c+d)*(e+f) |
Re: InFix to PostFix and PostFix expression evaluation.
sorry i didn't mentioned clearly, While using postfix evaluation program, if i am typing postfix expression ab+cd+* , result is not coming properly, if ab+ result is ok.
can u verify once. where i am doing wrong thanks in advance |
| All times are GMT +5.5. The time now is 22:27. |