Proven C Book

Proven C Book

An Introduction to Modern C with the Proven C Library

draft

v0.94.1 · last updated 2026-09-25

rubidus

An introduction to C, and an introduction to the proven C library.

Written for readers who are just starting out with C.

This edition is a draft. For the paginated index and exact typesetting, see the PDF.
If anything in the book leaves you wondering, please ask on the Q&A board. I answer as time allows and as far as I know the answer. Korean or English, either is fine. For typos and mistakes, an issue is the better place.

Contents

Part I — Ground: the machine and its memory

Part II — What the machine really is: representation and execution

Part III — The first program

Part IV — A minimal toolbox

Part V — Declarations: how names are made

Part VI — Values and flow

Part VII — Memory

Part VIII — The shape of data

Part IX — Deep corners

Part X — Structure

Part XI — Reading the standard library

Part XII — proven — a new, stable foundation

Part XIII — Closing

Front and back matter

Copyright and contact

author
rubidus
contact
rubidus@gmail.com
repository
github.com/rubidus-api/proven_c_book
edition
v0.94.1 — draft
last updated
2026-09-25

The text — Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). You may share and adapt it freely with attribution; commercial use is not permitted, and adaptations must carry the same licence.
creativecommons.org/licenses/by-nc-sa/4.0/

The example code — MIT licence. Take it and use it. The proven library used in the examples follows its own licence (MIT at present).

Every code demonstration in this book is output actually obtained by compiling and running it. The typesetting is done with Typst.

This book keeps being revised. What you are reading is the edition numbered above; corrections and additions follow it. Reports and suggestions are taken at the repository.