Skip to content

kavros/cpp-data-structures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview Build Status Coverage Status

This project aims to develop common data structures in C++ such as binary search tree, queue, stack, hashtable, graph, max-min heap

Install CppUnit

$ wget http://dev-www.libreoffice.org/src/cppunit-1.14.0.tar.gz
$ tar -xvzf cppunit-1.13.2.tar.gz
$ cd cppunit-1.13.2
$ ./configure --prefix=$HOME
$ make
$ make install 
$ . ../scripts/exports.sh 

Build & Run

  • Install CppUnit using the instructions.
  • Build project and run unit tests using the following commands:
$ make
$ make run_tests
  • Work in progress for CMake support:
$ cmake -H. -Bbuild
$ cmake --build build -- -j3

Code Style

  • Source files naming:
    • All letters must be lower case.
  • Struct, Class, Function naming:
    • Only the first letter of each word is uppercase and the rest are lowercase.
  • Every bracket has a new line before and after.

About

A project for studying data structures.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published