Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alvarogarcia7/c_koans-solutions
https://github.com/alvarogarcia7/c_koans-solutions
c clang koans makefile malloc pointers
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alvarogarcia7/c_koans-solutions
- Owner: alvarogarcia7
- License: mit
- Created: 2019-06-04T00:13:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T00:15:34.000Z (over 5 years ago)
- Last Synced: 2024-11-12T03:29:31.912Z (2 months ago)
- Topics: c, clang, koans, makefile, malloc, pointers
- Language: C++
- Size: 755 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Authors: AUTHORS
Awesome Lists containing this project
README
# c_koans
## Description
The original work is from [C-Koans](https://github.com/c-koans/c_koans)
## Running the koans
```bash
docker run -v $(pwd):/app -it conanio/clang7 /bin/bash## inside docker
export LD_LIBRARY_PATH=/usr/local/lib:/app/criterion/lib/
make clean all
./bin/c_koans
```## Sections
Inside `src/` you will find a file for each of the following topics in C:
- Basics
- Pointers
- Functions
- Arrays
- Strings
- The Preprocessor
- Control Statements
- Structs
- Dataclasses
- I/O
- Malloc
- Linked List ProjectThe recommended order for fixing the tests is:
- about_basics.c
- about_control_statements.c
- about_functions.c
- about_pointers.c
- about_malloc.c
- about_arrays.c
- about_strings.c
- about_structs.c
- about_dataclasses.c
- about_printing.c
- about_io.c
- about_linked_lists.c
- about_preprocessor.c