EmbLogic's Blog

queue implementation using an array in C

RCS file: queue_using_array.c,v
Working file: queue_using_array.c
head: 1.5
branch:
locks: strict
	root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5;	selected revisions: 5
description:
Queue implementation using arrays is done successfully.
Different functions are made for inserting and deleting elements.
----------------------------
revision 1.5	locked by: root;
date: 2013/12/31 14:01:43;  author: root;  state: Exp;  lines: +6 -3
Prototype of the display function is changed.
If the user chooses the display function without inserting an element.
The display function prints the queue is empty and return.
----------------------------
revision 1.4
date: 2013/12/31 13:38:29;  author: root;  state: Exp;  lines: +1 -1
Underflow condition in display() function is given.
To display to the user if the user enters display function before inserting any
element in to the array.
Display function working fine.
----------------------------
revision 1.3
date: 2013/12/31 13:36:36;  author: root;  state: Exp;  lines: +2 -0
Error occurred,may be missing parenthesis.
Debugging the error in the display function.
----------------------------
revision 1.2
date: 2013/12/31 13:34:00;  author: root;  state: Exp;  lines: +1 -1
More optmizations are done in the code.
----------------------------
revision 1.1
date: 2013/12/23 12:30:51;  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>