Generic-Data-Structures
C
Generic-Data-Structures | C | |
---|---|---|
3 | 5 | |
34 | 18,084 | |
- | 1.2% | |
8.5 | 4.9 | |
13 days ago | 17 days ago | |
C | C | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Generic-Data-Structures
-
Sources to learn Data structure implementation in C
This GitHub repo: https://github.com/pavlosdais/Abstract-Data-Types is great! It uses void pointers and dynamic memory to store any kind of data type. Also, I'm currently working on a repository myself! Here's the link: https://github.com/saulvaldelvira/Generic-Data-Structures It also has the same approach, void pointers and dynamic memory, for versatility. Those are the ones I known. About documentation/Books, i don't really know about any that are focused on C. What I use for my repo is basically my notes for university. But the internet is huge! There are tons of Data Structures tutorials focused on C. Good Luck!
-
I love C
A lot of it is indented, e.g. linked_list.h begins:
C
- what resources do you recommend for learning C ?
-
My Favorite Language has Changed to PHP
C: https://github.com/TheAlgorithms/C/blob/master/sorting/merge_sort.c
-
Prime numbers program with if else?
prime.c
- Are there any websites or books that shows optimal solutions for solving algorithms using C?
-
Algorithms by Jeff Erickson (Free algorithms textbook)
I like the awesome-algorithms link, but some of the code linked is definitely not perfect. A few questionable things from one of the header files [0] in https://github.com/TheAlgorithms/C:
- Defines a macro with no parentheses
- Uses unsigned for length and capacity (should be size_t)
- Uses () instead of (void) for an empty parameter list
- Useless use of "extern" for function declarations
- I think that leading double underscores and structures ending with _t are reserved identifiers, but I don't really have a good source for this
[0]: https://github.com/TheAlgorithms/C/blob/master/data_structur...
What are some alternatives?
CC - A small, usability-oriented generic container library.
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Collections-C - A library of generic data structures for the C language.
C-Sharp - All algorithms implemented in C#.
Melon - A generic cross-platform C library that includes many commonly used components and frameworks, and a new scripting language interpreter. It currently supports C99 and Aspect-Oriented Programming (AOP).
Dart - All Algorithms implemented in Dart
sc - Common libraries and data structures for C.
julia - Simple fractal drawing software
Abstract-Data-Types - A set of efficient data structures in C, created in a generic way
JavaScript - Algorithms and Data Structures implemented in JavaScript for beginners, following best practices.
awesome-algorithms - A curated list of awesome places to learn and/or practice algorithms.
Java - All Algorithms implemented in Java