Valhalla Legends Archive

Programming => General Programming => C/C++ Programming => Topic started by: ArCHoN on January 21, 2004, 12:11 AM

Title: which one
Post by: ArCHoN on January 21, 2004, 12:11 AM
new to codeing which one should i start with devC++ or Visual Studios .NET C++ :)
Title: Re:which one
Post by: Yoni on January 21, 2004, 06:00 AM
I'd go with the existent one
Title: Re:which one
Post by: iago on January 21, 2004, 06:08 AM
I'd say go with DevC++ because a) it's free b) it's better to learn ANSI C, not Microsoft C.
Title: Re:which one
Post by: Skywing on January 21, 2004, 08:43 AM
Quote from: iago on January 21, 2004, 06:08 AM
I'd say go with DevC++ because a) it's free b) it's better to learn ANSI C, not Microsoft C.
Note that the Microsoft compiler and documentation clearly label nonstandard extensions and explain how to turn them off.
Title: Re:which one
Post by: iago on January 21, 2004, 12:00 PM
Quote from: Skywing on January 21, 2004, 08:43 AM
Quote from: iago on January 21, 2004, 06:08 AM
I'd say go with DevC++ because a) it's free b) it's better to learn ANSI C, not Microsoft C.
Note that the Microsoft compiler and documentation clearly label nonstandard extensions and explain how to turn them off.

People tend not to read documentation, though.  In either case, dev is free and uses the gnu compiler, which is platform-independant.
Title: Re:which one
Post by: Skywing on January 21, 2004, 01:20 PM
Quote from: iago on January 21, 2004, 12:00 PM
Quote from: Skywing on January 21, 2004, 08:43 AM
Quote from: iago on January 21, 2004, 06:08 AM
I'd say go with DevC++ because a) it's free b) it's better to learn ANSI C, not Microsoft C.
Note that the Microsoft compiler and documentation clearly label nonstandard extensions and explain how to turn them off.

People tend not to read documentation, though.  In either case, dev is free and uses the gnu compiler, which is platform-independant.
GCC also has many nonstandard extensions enabled by default (far more than VC) and of course, you'd have to view the documentation to find them :p

There is a Win32 port (mingw) but it's headers are inaccurate and the compiler itself is missing important features such as support for structured exception handling.

Besides, GCC's AT&T-style inline assembler syntax sucks!
Title: Re:which one
Post by: Kp on January 21, 2004, 03:17 PM
Quote from: Skywing on January 21, 2004, 01:20 PMGCC also has many nonstandard extensions enabled by default (far more than VC) and of course, you'd have to view the documentation to find them :p

There is a Win32 port (mingw) but it's headers are inaccurate and the compiler itself is missing important features such as support for structured exception handling.

Besides, GCC's AT&T-style inline assembler syntax sucks!

Use -ansi or -pedantic if you don't like GNU features. :P  The mingw headers aren't that bad (I've only needed to correct them a couple times, and it's pretty easy to compare the PSDK headers from Microsoft with the GNU ones to find problems).  AT&T syntax is way better than Intel syntax; how else can you name a global variable ecx and not confuse the assembler? ;)

Also, IMO, gcc's functionality for inline assembly is more powerful than that provided with VS.
Title: Re:which one
Post by: Skywing on January 21, 2004, 04:07 PM
Functionality, perhaps, but I still think the *syntax* sucks :p