[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Help-glpk] compile glpk in C++ using VC.NET

From: Michael Hennebry
Subject: RE: [Help-glpk] compile glpk in C++ using VC.NET
Date: Fri, 30 Jul 2004 13:16:31 -0500 (CDT)

On Fri, 30 Jul 2004, Liu, Cheng wrote:

> I am not suggesting changing the "try" or "struct" names to make it a
> C++ compatible.  I did suggest to add those explicit casting.  I know
> this is not necessary but a hobbit for C++ programmer.  I don't think
> add explicit casting violate ANSI/ISO C standard.

The rule in C++ is that non-type-safe conversions must be done explicitly.
Conversion from pointer to void is always non-type-safe.

You're asking our benefactor for a lot of work to little purpose.
As noted earlier, glpk can easily be linked with C++.

> Meanwhile with this modification, glpk may attract more C++ programmers
> if they would like to do some modifications for B&B.

I haven't tinkered with the B&B code, but most of my numerical code
involves driving glpk from C++.

Mike   address@hidden
"Nothing says it like words if you know how to use them."
                    --  the Professional Organization of English Majors

reply via email to

[Prev in Thread] Current Thread [Next in Thread]