Menu

Main features

Colin Leach

Main features

After compilation (see [Compilation instructions]), you will end up with 2 binary files:

  • cs106lib.a, a static library which you will link into your programs at build time
  • gserv (or gserv.exe on Windows), a graphics server based on the Qt framework

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.


Related

Wiki: CS106 Libraries
Wiki: Compilation instructions
Wiki: Deviations from Stanford documentation

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.