+ 3
How it works??
The code below converts any infix expression to postfix expression. I've tried a lot but couldn't get it inside my head. So can u plz help me to understand how it works? = ) https://code.sololearn.com/c3XucBX6S6Ip/#cpp
4 Antworten
+ 3
Use debugger u will understood much better how its working.
Your program generating warnings in line no 26 try this
instead of int to unsigned
for(unsigned int i = 0; i < s.length(); i++) {
+ 3
You have done this code so am expecting you have good knowledge of stack stl and properties . To understood any program is better to do dry run if you write flow in pen paper then definitely you will get an idea how its flowing further if you dont understood any of properties you can search on Google there not special in this code which are not understandable try to read line by line
+ 2
Inactive but I don't have access to a debugger =(
0
Ամիթ Սինգհ okay tnx I'll try. Also, I took this code from a tutorial website, is not mine