Sunday, 8 March 2015

Stack implementation using array


Implementation of stack using array have methods 

push(),pop(),reverse() and display.


How to make header of a program in c++

Create a header of your program c/c++

You can create your own header of your program, to which you can include in any other program by just enclosing in #include<"header">. By doing This you can access the methods of  your created header in any programs .

Impementation of stack using linked list in c++

/*

    Implementation of stack using linklist
    Methods included are:
    push();
    pop();
    reverse();
    display();
    topofstack();


@author: vikas bek
   
*/