Skip to content

hutusi/rethink-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published