C++ to C problem
-
Hi everyone, I'm beginner and I need a little help. I have to make RPN (postfix) calculator using stack which is implemented by singly linked list in C. Now I found that but in C++ and I'm having trouble translating it to C. Can you help me getting things to work? I have started from http://www.mediafire.com/view/q833x5sic8eq4sx/from\_c\_\_.txt and using a little code from http://www.mediafire.com/view/ewz9so6999ig5x0/using\_c.txt I get to http://www.mediafire.com/view/qesca0cg0vzjzac/to\_this\_in\_c.txt code and it debugs but when I enter anything in console it crashes and gives me some assembly code I'm using VS C++ 2010. Please help me to fix this, I can't find what's wrong.
-
Hi everyone, I'm beginner and I need a little help. I have to make RPN (postfix) calculator using stack which is implemented by singly linked list in C. Now I found that but in C++ and I'm having trouble translating it to C. Can you help me getting things to work? I have started from http://www.mediafire.com/view/q833x5sic8eq4sx/from\_c\_\_.txt and using a little code from http://www.mediafire.com/view/ewz9so6999ig5x0/using\_c.txt I get to http://www.mediafire.com/view/qesca0cg0vzjzac/to\_this\_in\_c.txt code and it debugs but when I enter anything in console it crashes and gives me some assembly code I'm using VS C++ 2010. Please help me to fix this, I can't find what's wrong.
No one is going to go to those links to see your code. You must post the relevant code snippets here along with any exact error messages.
The difficult we do right away... ...the impossible takes slightly longer.
-
Hi everyone, I'm beginner and I need a little help. I have to make RPN (postfix) calculator using stack which is implemented by singly linked list in C. Now I found that but in C++ and I'm having trouble translating it to C. Can you help me getting things to work? I have started from http://www.mediafire.com/view/q833x5sic8eq4sx/from\_c\_\_.txt and using a little code from http://www.mediafire.com/view/ewz9so6999ig5x0/using\_c.txt I get to http://www.mediafire.com/view/qesca0cg0vzjzac/to\_this\_in\_c.txt code and it debugs but when I enter anything in console it crashes and gives me some assembly code I'm using VS C++ 2010. Please help me to fix this, I can't find what's wrong.
You already posted this request in the quick answers thread. As already told you, you don't have post links, but code (just for your knowledge the links are not even working). Just a small direction: compile your code with debug info, open a debug session and localize where your code fails. Restrict the place, extract a small snippet showing the problem and post only that small piece if you want any help.
-
Hi everyone, I'm beginner and I need a little help. I have to make RPN (postfix) calculator using stack which is implemented by singly linked list in C. Now I found that but in C++ and I'm having trouble translating it to C. Can you help me getting things to work? I have started from http://www.mediafire.com/view/q833x5sic8eq4sx/from\_c\_\_.txt and using a little code from http://www.mediafire.com/view/ewz9so6999ig5x0/using\_c.txt I get to http://www.mediafire.com/view/qesca0cg0vzjzac/to\_this\_in\_c.txt code and it debugs but when I enter anything in console it crashes and gives me some assembly code I'm using VS C++ 2010. Please help me to fix this, I can't find what's wrong.
Back when I was in school, we made our own RPN calculator from scratch (after spending weeks discussing data structures and algorithms on the chalkboard), not converting it from one language to another. As a result, I understand how they work.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles