Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~274 People Reached
Favorite Forums
Favorite Tags
c++ x 5
Member Avatar for drjay1627

Hello, Is there any way of checking all elements in a queue without calling pop(). [code] while(!q.empty()){ cout << q.front() << endl; q.pop() } [/code] this is essentially what I have done. There is a bug in my program and I'm trying to check what is wrong. I don't want …

Member Avatar for vijayan121
0
125
Member Avatar for magician89

write aprogram in c++ to read the tokens in one at a time ,if it is integer,push it on stack, if it is binary operator, pop two elements from the stack, apply the operator to the two elements and push the result back on the stack?? please help me to …

Member Avatar for aman rathi
0
149