Programming Resources
For Fun and Learning
Charles Cusack
Computer Science
Hope College
main

Python

C++


JAVA
PHP
SQL
Alice

Queue


Description

Download zip file (Right click)
Download tar/gzip file (Right click)

Makefile
queue.cpp
queue.h
testQueue.cpp

Description
Queue is an array-based queue. It is actually a well-documented and formatted class, but is a bad implementation (look at dequeue).

I have included versions of the class header file with minimal documentation so the syntax of the class is more obvious.

I have also included a simple program that allows you to interact with the queue.