Forum: C++ May 31st, 2009 |
| Replies: 4 Views: 302 you got several errors in your code .
1- in int faq_choice,faq_YN;
y did u make faq_YN integer it have to be char that is why the infinite loop occurs.
2- in your if statements u made && it... |
Forum: C++ Dec 5th, 2008 |
| Replies: 11 Views: 747 You can traverse through the string using a pointer ofcourse :-
-if u find any open braces (and i mean OPEN ' (,{,[ ') Push it to the stack.
-While u still traversing the expression if u find... |