Re: Visual Studio C/C++ projects

2015-01-05 Thread Thomas Koster
On 6 January 2015 at 13:56, Thomas Koster wrote: > These two posts by Damien Katz (creator of CouchDB) are inspiring reading > if you are concerned that going back to C is a regression: > >- >http://damienkatz.net/2013/01/the_unreasonable_effectiveness_of_c.html >- http://damienkatz.n

Re: Visual Studio C/C++ projects

2015-01-05 Thread Greg Keogh
I didn't know about possible problems in floating point rounding behaviour, I haven't looked, but I'd be surprised if they're significant in the magnitude range of stats calculations the library performs (I'd like to be warned if this is wrong!). I read Katz's articles, and I claim there's a fair

Re: Visual Studio C/C++ projects

2015-01-05 Thread Thomas Koster
On 5 January 2015 at 10:47, Greg Keogh wrote: > > Folks, I might have to migrate some Embarcadero/Borland C (not C++) code > over to Visual Studio, but I haven't written any C/C++ for about 10 years > now (thankfully). The C code mostly manipulates flat files and performs > heavy stats calculation

Re: Visual Studio C/C++ projects

2015-01-05 Thread Stephen Price
Nice! Object oriented comments. That should totally be a thing! :) On Mon, Jan 5, 2015 at 4:15 PM, Greg Harris wrote: > Some (many) years ago I was talking to this guy who was proudly telling me > he had upgraded his Pascal program to use the OO features of Delphi. > Great, tell me what features

Re: Visual Studio C/C++ projects

2015-01-05 Thread Greg Harris
Some (many) years ago I was talking to this guy who was proudly telling me he had upgraded his Pascal program to use the OO features of Delphi. Great, tell me what features you are using I ask (expecting classes and inheritance at least) Answer: Oh the Delphi style // comments - Yeah - I had to bit

Re: Visual Studio C/C++ projects

2015-01-05 Thread DotNet Dude
Try adding some C++ features and see what happens when you try to compile. On Mon, Jan 5, 2015 at 5:31 PM, DotNet Dude wrote: > I think /TC tells VS it's C only? /TP is for C++. > > > On Mon, Jan 5, 2015 at 11:44 AM, Greg Keogh wrote: > >> I found the easiest way of making a plain C project (I