The standard library, files and time
This part of the C course covers the rest of the standard library: strtol, qsort and bsearch, text and binary files, directories and their metadata, line-by-line text processing, clocks and formatted time, and a random number generator that is better than rand.
54
The stdlib.h toolbox
strtol, qsort, bsearch, abort, exit, abs
Open
55
Text files
fopen modes, fprintf, fgets, fclose, error checks
Open
56
Binary files
fwrite, fread, records, endianness, ftell and fseek
Open
57
Directories and file metadata
opendir, readdir, stat, permissions
Open
58
Text processing
getline, strtok, strspn, line splitting, word counting
Open
59
Time and clocks
time, clock_gettime, monotonic clocks, strftime
Open
60
Random numbers
rand, srand, ranges, bias, a better generator
Open