and infix- prefix works on single operators,, but what to do about ++/-- in pre or post.. i thought of sub $ for ++ and ^ for -- and use it as operators and put a special case.. . will this be ok?
Type: Posts; User: shoegoe
and infix- prefix works on single operators,, but what to do about ++/-- in pre or post.. i thought of sub $ for ++ and ^ for -- and use it as operators and put a special case.. . will this be ok?
My apologies again... It was just that i didnt know what a prefix was.. .sorry again...
Now i understand a bit...
But.. since i want to print my equation step by step in infix form, do i have...
Sorry Salem.,, was just frustated to know that i was the ONLY one to get this type of program. We've started c just 3 months back in col( we're just @ How to open a Text file ) ...if the program was...
Ure just like davekw7x Click Here @ gidforums ^_^ Helpin my studies .....ill try to figure it somehow tonight... But might the logic back there work?
ps..pls tell me if outside forum links arent...
sorry ......but to know my condition...this proj was given just 2 days ago, supposed to be the easiest, ((PS.we've just entered dealing with files))....
Thx a lot...ill go through your suggestion...
amm.... i was plannin to do like this
get equation as a string
check if proper characters are used, and equal open and close paranthesis
use a loop to send the string to a function say...
Hi! ..My First Post :)
Am... I need a logic and/or some kind of help to code a c program which accepts a numeric equation and prints it step by step in order of precedence..
Eg:
the c...