Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dgroomes/c-playground
📚 Learning and exploring the C programming language
https://github.com/dgroomes/c-playground
c cmake demo
Last synced: 14 days ago
JSON representation
📚 Learning and exploring the C programming language
- Host: GitHub
- URL: https://github.com/dgroomes/c-playground
- Owner: dgroomes
- Created: 2023-01-14T05:42:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-07T16:22:03.000Z (over 1 year ago)
- Last Synced: 2024-11-25T03:13:44.312Z (2 months ago)
- Topics: c, cmake, demo
- Language: C
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# c-playground
📚 Learning and exploring the C programming language.
> C is a general-purpose computer programming language. It was created in the 1970s by Dennis Ritchie, and remains very
> widely used and influential.
>
> -- https://en.wikipedia.org/wiki/C_(programming_language)## Overview
I've been avoiding re-learning C since I learned it briefly in college. I need to learn at least a bit. This project is
me doing that.**NOTE**: This project was developed on macOS. It is for my own personal use.
## Standalone subprojects
This repository illustrates different concepts, patterns and examples via standalone subprojects. Each subproject is
completely independent of the others and do not depend on the root project. This _standalone subproject constraint_
forces the subprojects to be complete and maximizes the reader's chances of successfully running, understanding, and
re-using the code.The subprojects include:
### `simple/`
This is a "hello world"-style program for experienced programmers who are new to C.
See the README in [simple/](simple/).
### `cmake-with-external-library/`
An example C project that uses CMake and consumes an external library.
See the README in [cmake-with-external-library/](cmake-with-external-library/).
## Wish List
General clean-ups, TODOs and things I wish to implement for this project:
* [x] DONE Create a subproject that uses a Makefile to build the project. I only ever wanted to execute `clang` commands
directly in my start project (`simple/`) but now I want to do it the faster way. I think I'm going to use CMake and
consume the popular [CRoaring](https://github.com/RoaringBitmap/CRoaring) bitmap library.