• Stars
    star
    252
  • Rank 160,407 (Top 4 %)
  • Language
    C
  • License
    MIT License
  • Created about 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A reuseable codebase for C Programming Language.

RETHINK C

Build Status

Relearn and rethink C Programming Language, including some of data structures and algorithms.

The code is licensed under the MIT license, copyright by hutusi.com.

Some of the code inspired (copied) by Simon Howard's c-algorithms, like ArrayList, etc. This project also reused his alloc-testing framework for memory testing.

RETHINK-C aims to build a reuseable codebase for C Programming Language.

How to build & test

Requirements:

  • Editor/IDE: VS Code is recommended.
  • GCC on Mac, Linux or Windows. (Recommend msys2 + MingW on Windows.)
  • CMake.
  • Clang-Format.

build & test:

  • build
cd build
cmake ..
make
  • test:
make test

Goals / Achievements

Basic Data Structures

Trees

Graphs

String & Text

Sorting

Math

  • Matrix multiplication
  • Eratosthenes sieve (prime numbers) prime.h prime.c

Distance Measures

MISC

  • Bloom filter