[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: |
Tor Myklebust |
Subject: |
RE: [Help-glpk] compile glpk in C++ using VC.NET |
Date: |
Fri, 30 Jul 2004 18:44:54 -0400 (EDT) |
Explicit casting doesn't violate the standard or anything, but it's a good
way to hide subtle bugs (such as those caused by forgetting to #include
<stdlib.h>.)
On Fri, 30 Jul 2004, Liu, Cheng wrote:
> Andrew,
>
> >>Do not change the extension ".c" to ".cpp", because glpk is written in
> >>ANSI/ISO C, not in C++.
>
> 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.
>
> Meanwhile with this modification, glpk may attract more C++ programmers
> if they would like to do some modifications for B&B.
>
> This is only my personal option though.
>
> Thanks,
>
> Cheng
>