Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

ryukinix/c-lists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C-lists =: some classes

This repository have a few codes made in ANSI C with implementation of lists subclass:

  • queue
  • stack
  • deque

The implementation was divided in "static" and "dynamic"; the static implementation uses just vectors and dynamic use linkeds lists.

Usage

Clone this repository and after it, open a terminal session on the working directory, use make and execute the program you wish:

  • make

After the compiling, all the binaries will be are on the build folder.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

my-delicious-state

Race, life’s a race And I’m gonna win Yes, I’m gonna win I’ll light the fuse and I’ll never lose

And I choose to survive, whatever it takes You won’t pull ahead I’ll keep up the pace I’ll reveal my strength to the whole human race

Yes, I am prepared to stay alive And I won’t forgive, vengeance is mine And I won’t give in, because I choose to thrive Yes, I'm gonna win.

Race, it’s a race And I’m gonna win Yes, I’m gonna win I’ll light the fuse and I’ll never lose

And I choose to survive, whatever it takes You won’t pull ahead ’cause I’ll keep up the pace I’ll reveal my strength to the whole human race Yes, I'm gonna win.

Contributors

License

GPLv3

Roadmap

  • make an abstract type
  • auxiliar functions for static and dynamic lists
    • RandomList
    • Erase (any element)
    • ClearList
  • queue
    • static
      • push
      • pop
      • search
      • edit
    • dynamic
      • push
      • pop
      • search
      • edit
  • stack
    • static
      • push
      • pop
      • search
      • edit
    • dynamic
      • push
      • pop
      • search
      • edit
  • deque
    • static
      • push
        • push_left
        • push_right
      • pop
        • pop_left
        • pop_right
      • search
      • edit
    • dynamic
      • push
        • push_left
        • push_right
      • pop
        • pop_left
        • pop_right
      • search
      • edit

Releases

No releases published

Packages

No packages published