CS 246 Resources
Prof. Richard Eisenberg
Spring 2017
The following links may be helpful to you. Feel free to submit a pull request if you find other good resources!
See here for advice on installing gdb on a Mac. On Windows, you should work through Cygwin.
GDB/emacs integration details. Note that you need to make a ~/.emacs file with (setq gdb-many-windows t) in it to automatically get the fancy display I showed in class. (See here for more information about the ~/.emacs file.)
check unit testing library. Click on the “API” tab to see the library documentation.
Remember to use gcc -o`*<object files>* -lcheck` to include the check library.
See this example for an example of how to use check.
See here for advice on installing check on a Mac. On Windows, you should work through Cygwin.