The ILOG CPLEX header file, cplex.h
, includes the extern
C statements necessary for use with C++. You include it directly in C++ source. The standard distribution of ILOG CPLEX includes examples of wrapper classes for C++ applications. The wrapper classes do not implement all Callable Library routines, but they are easy to extend for any routines you do need.