Error: iostream.h due to inclusion of cplex

I try to use cplex in eclipse in Ubuntu 12.04, but when I turn on ilocplex.h I get the following error

/opt/ibm/ILOG/CPLEX_Studio124/concert/include/ilconcert/ilosys.h:360:22: fatal error: iostream.h: No such file or directory

The only two options are written as follows:

#include <ilcplex/ilocplex.h>
#include <iostream>

I would appreciate it if someone could help me with this.

+4
source share
3 answers

, Concert ILOG, iostream.h - ++, iostream. , IL_STD. Eclipse/++ question.

+4

-, cplex , iostream.h ++.

0

Try reading the manual again or look at the samples again. Cplex has supported both the old iostream.h style and the new C ++ iostream standard for at least a decade. I just don't have a guide with me right now to give a full link.

0
source

Source: https://habr.com/ru/post/1531818/


All Articles