←PPNM
Lecture
C-preprocessor;
Simple printf-debugging (tracing);
Gnuplot;
Distributed version control systems.
Reading
Note "printf debugging"
.
Also:
C preprocessor
→ including files; macro definitions;
Debugging
;
Gnuplot documentation
, the "Plotting" section.
Exercises
Go to
bitbucket.org
and get yourself an account there; create an open source mercurial (or git, if you prefer) project "pprog" (or any other indicative name); push your files there.
GitHub
is another popular version control server.
Install Gnuplot on your box:
On MacOS with homebrew you can probably use the command
brew install gnuplot
For interactive usage include options
--with-qt
and/or
--with-x11
.
On Debian based systems, like Ubuntu, the command is
sudo apt-get --yes install gnuplot
Questions 6
.
Problems "io-gnuplot"
. Hints:
examples/io-gnuplot
.