[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] does glpk work for C++?
From: |
Michael Hennebry |
Subject: |
Re: [Help-glpk] does glpk work for C++? |
Date: |
Wed, 16 Mar 2005 16:58:09 -0600 (CST) |
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 address@hidden
"Our gods are dead. Ancient Klingon warriors slew them
... they were more trouble than they were worth." -- Worf