After compilation (see [Compilation instructions]), you will end up with 2 binary files:
The aim is that you write a (relatively simple) console program to run from the command line, and cs106lib sends any graphics commands via a TCP connection to the graphics server, running as a separate process. The default connection (localhost, port 30004) was chosen to avoid obvious conflicts, but it can be changed if necessary.
All functions in graphics.h and extgraph.h should work more or less as documented.
See [Deviations from Stanford documentation] for some minor changes.
Wiki: CS106 Libraries
Wiki: Compilation instructions
Wiki: Deviations from Stanford documentation