Home

Generic Double Linked List (Written in C)

 

 

This program allows the  user to create and maintain double linked lists made

up from any data type. It contains two modules:

-         GenerDLL.cpp which is managing the generic data, Gener.h – header file for it;

-         TestDLL.cpp: this file is using to test the program. The module contains functions which test the generic functions with such data types: long integers, floats, strings and complex data structures.

 With any of those data types user can:

-         add data to the list in sort order;

-         add data to the end of the list;

-         delete any element;

-         search linked list for desired element;

-         display number of elements in the list;

-         output list in the order it was created or in the reverse order to:

o       screen;

o       printer;

o       disk file.

 Program tested on Borland C++ Builder 5 and  Borland C++ Builder 4 compilers, operating systems Windows 98 SE and Windows 95.

 -         The module contains functions which test the generic functions with such data types: long integers, floats, strings and complex data structures.

To download source code: