468,484 Members | 2,144 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,484 developers. It's quick & easy.

infix to postfix conversion in simple C prog language

Does anyone know a simple C program to covert an infix to a postfix expression?plz kindly help!
Jan 3 '08 #1
4 3614
sicarie
4,677 Expert Mod 4TB
Sure, are you having trouble with the logic of how to do that, or implementing it?

PS - please see our Posting Guidelines, especially our How to ask a question section so that you can put everything we need to help you in one post.

Thanks!
Jan 3 '08 #2
Sure, are you having trouble with the logic of how to do that, or implementing it?

PS - please see our Posting Guidelines, especially our How to ask a question section so that you can put everything we need to help you in one post.

Thanks!
I just dont know how to implement it though i knew the logic.
Jan 3 '08 #3
oler1s
671 Expert 512MB
Well, try step 1: get the infix expression. This is something entered by user input right? So the first thing your program has to do is get that expression. Start with that code.
Jan 3 '08 #4
I just dont know how to implement it though i knew the logic.
You just need to go step by step. Write down how you convert infix to postfix step by step and then start writing the code.
You could use a char array to accept the infix expression.

Raghu
Jan 4 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

35 posts views Thread by globalrev | last post: by
2 posts views Thread by zeroeight | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by theflame83 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.