EmbLogic's Blog

Stack implementation using an array.

RCS file: stack_using_array.c,v
Working file: stack_using_array.c
head: 1.9
branch:
locks: strict
root: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9;    selected revisions: 9
description:
Stack implementation using array….
MAIN MENU is prepared for the user.
—————————-
revision 1.9    locked by: root;
date: 2014/01/09 01:41:47;  author: root;  state: Exp;  lines: +1 -1
Bug fixed.
Issue:prototype of the display function is mismatched.
—————————-
revision 1.8
date: 2014/01/09 01:39:52;  author: root;  state: Exp;  lines: +10 -1
pop() function is added in the program to delete the elements from the stack.
—————————-
revision 1.7
date: 2014/01/09 01:36:37;  author: root;  state: Exp;  lines: +11 -1
Underflow condition is included in the display() function to indicate the
user that there is no element in the stack.
—————————-
revision 1.6
date: 2014/01/09 01:32:23;  author: root;  state: Exp;  lines: +1 -1
\n character is added in the program to make the output more readable.
—————————-
revision 1.5
date: 2014/01/09 01:28:36;  author: root;  state: Exp;  lines: +1 -1
Logical error:Only the element at the top of the stack is getting displayed.
Checking.
—————————-
revision 1.4
date: 2014/01/09 01:26:50;  author: root;  state: Exp;  lines: +10 -2
Display function is added in the program.
—————————-
revision 1.3
date: 2014/01/09 01:18:20;  author: root;  state: Exp;  lines: +3 -0
Header file:<stdlib.h> is included to support the exit() function,
—————————-
revision 1.2
date: 2014/01/09 01:13:24;  author: root;  state: Exp;  lines: +48 -8
Push operation on the stack is implemented.
Checking.
—————————-
revision 1.1
date: 2014/01/09 00:58:52;  author: root;  state: Exp;
Initial revision
=============================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>