On request i have created a project called Stack and Queue in which the following classes are defined.
button
stack
queue
There are four buttons at the bottom named "Push" "Pop" "Insert" and "Delete" which are used to push and pop from the stack and insert and delete from the queue.
Here is a snapshot:
Here is the source. Remember it is a C++ project and you have to save the file as .cpp. This is a very easy project to understand as you would have studied the working of stack and queue in your data structure classes.
button
stack
queue
There are four buttons at the bottom named "Push" "Pop" "Insert" and "Delete" which are used to push and pop from the stack and insert and delete from the queue.
Here is a snapshot:
Here is the source. Remember it is a C++ project and you have to save the file as .cpp. This is a very easy project to understand as you would have studied the working of stack and queue in your data structure classes.
sir please mail the code for stack and queues implementation to creativestars13@gmail.com
ReplyDeletePlz click on source above and download after logging into your gmail account.
DeleteSir, snprintf is displaying an error that says "undeclared identifier", would you plz tell me a substitute for it or how to debug it. .???
ReplyDeleteSir it is not showing stack full and queue full...Which function I have to use..Pls gv me solution
ReplyDelete