411 REFERENCE · Wikibooks
GLPK/C++
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
The programming languages C and C++ do not need dedicated GLPK language bindings. GLPK is programmed natively in C. And C++ can normally link without problem to C code.
Moreover, there is no need to use the following C linkage construct extern "C" when calling GLPK from C++:
extern "C" { // NOT REQUIRED
#include <glpk.h> // C header
}
Instead simply use:
#include <glpk.h> // C header