I got a problem using c-code in my c++ program:
in "odeint.c" I defined:
extern int kmax;
in "global.cpp" I defined:
which gives me the linking error:
unresolved external symbol _kmax...
if I try in "odeint.c":
and in "global.cpp":
The value of kmax is not changed;
it remains 0.
In the online-help I found a way for the opposite problem by defining:
extern "C" int kmax;
in a c++ program, but unfortunately that's the wrong way round...
Thanks for any advice,