cint university / 401 / ced, the cint editor
401: labs
This page is CU-401.2, edition 2 of 401: labs, checked against cint 0.2.0 and released on {{RELEASE_DATE}}.
This edition is current. Every program in it was run on cint 0.2.0 with each of GCC, Clang, MSVC and Apple Clang, and every output comes from those runs. The text of this edition does not change after its release. Corrections that change nothing a reader would see are listed in ERRATA.md. A new edition is published when a release changes what a lab shows or when labs are added. Lab identifiers are the same in every edition and are never reused.
A lab is one program, larger than a lesson's, built in steps with its tests and its saved outputs. Each lab names the lessons it builds on; take them first.
labs
| Lab | Title | You build | After |
|---|---|---|---|
| 401-01 | an exact ledger | a bank ledger in whole cents, with tests and a saved, checked output | 201-04 |
| 401-02 | hunting an overflow | a fault traced to its cause and fixed three ways | 201-09 |
changes since the previous edition
CU-401.2 replaces CU-401.1, which stays readable.
- Lab 401-02 is new.
- Every lab's first line names CU-401.2.
- 401-01: the fault section links to 201-07, and the page ends with a link to 401-02.
No program's output changed.