The std.debug module contains utilities for debugging programs. The most commonly used function is print, which writes formatted output to standard error.
| Section | Title |
|---|---|
| 1 | std.debug |
| 2 | std.mem |
| 3 | std.ArrayList |
| 4 | Hash Maps |
| 5 | Formatting |
| 6 | Filesystem APIs |
| 7 | Process APIs |
| 8 | Testing Utilities |
| 9 | Exercises |
`std.debug`The std.debug module contains utilities for debugging programs. The most commonly used function is print, which writes formatted output to standard error.
`std.mem`The std.mem module contains operations on memory, slices, bytes, and basic data movement. Much of Zig programming eventually passes through std.mem.
`std.ArrayList`std.ArrayList is a growable array.
Hash MapsA hash map stores key-value pairs.
FormattingZig uses format strings to turn values into text.
Filesystem APIsThe standard library gives access to files and directories through std.fs.
Process APIsThe standard library gives access to process information through std.process.
Testing UtilitiesZig has built-in support for tests.
ExercisesThis section collects the exercises for Chapter 14.