资 源 简 介
Introduction
Goal
A simple, user-friendly, general-purpose queue implemented in C
Motivation
The desire to not recreate a C-queue for every assignment that calls for one
Context
This queue was designed for use in academic assignments, and, in fact, originated as part of an assignment. It has a verbose syntax intended to be helpful should the user be unfamiliar with C and/or queue construction
Features
The curly queue uses a doubly-linked list for the back-end storage and offers the following (public) functions:
create_queue
destroy_queue
is_empty
enqueue
dequeue
iterator_has_next
iterator_has_prev
iterarator_jump_to_front
iterator_jump_to_back
get_value_at_iterator
insert_value_before_iterator (I know!)
insert_value_after_iterator (Yes!)
delete_value_at_iterator (Ah!)
<