C-Plus-Plus and C
These are ecosystem siblings—parallel implementations of the same educational algorithm collection in different programming languages (C++ vs C), allowing developers to learn the same algorithms in their language of choice.
About C-Plus-Plus
TheAlgorithms/C-Plus-Plus
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
Implementations use only C++17 standard library (STL) with no external dependencies, enabling compilation across Windows, macOS, and Linux, plus embedded systems like ESP32 and ARM Cortex with minimal changes. Each algorithm includes self-checks for correctness verification and is accompanied by Doxygen-generated documentation with flow diagrams and STL function references. Multiple implementations per algorithm demonstrate different strategies and optimizations for comparative learning.
About C
TheAlgorithms/C
Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.
Each implementation uses only the C standard library (`libc`) with no external dependencies, enabling deep study of algorithmic fundamentals and portability to embedded systems like ESP32 and ARM Cortex. Code adheres strictly to C11 standards and includes self-checks for correctness validation. Doxygen-generated documentation provides detailed explanations, code snippets, execution guidance, and algorithm flow diagrams for each implementation.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work