PhilipZwanenburg / stroustrup_P-PPUCpp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Learning C++

This project contains sample solutions to the drills (and some exercises) of the 2nd edition (2014) of Programming - Principles and Practice Using C++ by Bjarne Stroustrup.

Running the codes

Compile the codes using the Makefiles in the 'drills' and 'exercises' directories after modifying the src directory path.

The following external libraries are used: - FLTK (tested with version 1.3.4)

To get the code from chapter 12.3 to compile, several modifications to the original source files (available here or here) were necessary. All modifications have a 'PZwan_modified' string in a comment explaining the change. The required modifications were obtained from this webpage.

Installing libraries

FLTK

After installing the FLTK library, test that all is working correctly using the FLTK hello world program by setting the appropriate folder path in the drills Makefile. The include and library flags can be obtained by running:

$ /full_path_to_fltk_root/fltk-config --compile /full_path_to_hello_fltk/hello_fltk.cpp

About


Languages

Language:C++ 98.6%Language:Makefile 1.1%Language:C 0.3%