or are there multiple dialects to C/C++? It seems that code meant for Visual C++ won't work with any of these GCC IDEs. Or would it? |
There are multiple
implementations: each major software vendor (Microsoft, IBM, Apple, Intel, Sun/Oracle, HP) has its own C++ compiler and a C++ standard library, and there are open source implementations such as GNU, and specialized vendors such as EDG
Since no company or organization owns either language, a group of volunteers constantly works on maintaining the
standards, which are documented requirements to a C++ compiler/library. They are regularly updated and revised: C++ had the first one published in 1998, it was updated in 2003 and revised in 2011. C had the first one in 1989, upd 1995 (I think), rev 1999, upd 2001, upd 2004, upd 2007, rev 2011.
Every vendor tries to make their compiler/library fulfill the standard requirements, and at the same time, provides vendor-specific extensions. Useful extensions are submitted to the standard, reviewed/modified to fit the rest of the language, and then then other vendors have to implement them, etc.
My goal is platform independent C/C++ development, and as such Visual C++, which I believe is geared more towards Windows development, may not be suitable.
|
If you code to the standard specs, the program will compile anywhere (and if such program doesn't compile, file a bug report). Visual C++ is just fine with standard C++ (not C) programs (there are still bugs in their implementation of the 2011 set of requirements, but they are worked on)
would standard functions comprehensively cover all basic coding requirements, like windowing, image handling, drawing, file i/o, printing, etc.? |
There's the catch. No windowing, images, or drawing at all. File I/O is included though.