On Wed, 16 Mar 2005, Miguel Griot wrote:

> I just downloaded the glpk package, installed it, made a few tests with it 
> using gcc as compiler and everything works fine. However, I'm now trying to 
> use it in an Object Oriented program, using g++ as a compiler but now the 
> compiler doesn't recognize the functions from glpk. Should it work with g++? 
> How can I make it work?
> I'm not an expert in C or C++, so I apologize if I'm asking something that's 
> obvious.

extern "C" {
#include "glpk.h"
}

-- 
Mike   [EMAIL PROTECTED]
"Our gods are dead.  Ancient Klingon warriors slew them
... they were more trouble than they were worth."          --  Worf



_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to