Skip to content

TheGAzed/cerpec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CERPEC

CERPEC is a personal project that aims to recreate popular data structures for the C programming language. These are divided based on their length into finite and 'infinite' (adjustable) structures.

Prerequisite

C compiler that supports at least the C99 standard, for example:

CMake for proper build process.

Download

  • Either save it as a ZIP, then unzip it in your project
  • or load it as a submodule:
# example: 
git submodule add https://github.com/TheGAzed/cerpec.git

Initialize

set(CERPEC_TEST OFF)
add_subdirectory([path-to-folder]/cerpec)
# ...
target_link_libraries([target-name] PRIVATE CERPEC)

List of Implemented Data Structures:

  • STACK
  • QUEUE
  • DEQUE
  • STRAIGHT LIST
  • CIRCULAR LIST
  • DOUBLE LIST
  • HASH SET
  • BITWISE SET
  • RED-BLACK SET
  • BINARY SEARCH TREE
  • ALV TREE
  • RED-BLACK TREE
  • BINARY HEAP
  • HASH MAP