Unrefined Awesome

January 19, 2009

Why You Shouldn’t Use Visual C++ 6

Filed under: Programming — Tags: , , , — Jason @ 8:57 pm

In the same vein as my earlier post on Why You Shouldn’t Use Dev-C++ I’d like to outline a few reasons you shouldn’t still be using Visual C++ 6.0.  These arguments may not apply if you’re working with a computer that is both particularly underpowered and running a very old (pre-’98) version of Windows, but in the overwhelming majority of cases VC++6 is a terrible choice of development environment.

  1. Visual Studio 6 was released over a decade ago in 1998. It is not only unsupported, but also predates the C++ standard and therefore behaves incorrectly in some cases; you may get errors when trying to compile perfectly valid C++!
  2. There are serious problems with the version of the STL which shipped with this compiler, leading to the need to use STLPort or similar solutions in many cases.  Newer products ship with vastly improved versions of the C++ Standard Library (of which the majority of the STL is a subset).
  3. Newer libraries do not typically support the VS6 compiler or environment.  You’ll often have trouble finding compatible binaries to work with (although you may still be able to compile from source yourself) and likely won’t find documentation for your outdated environment either.
  4. The programming community has moved on for the most part, making it hard to find people familiar with the error messages or layout of VC++6 if you need help.
  5. Alternatives are freely available. Cost should therefore not need to be a factor in your decision.

My recommendations for alternatives are the same as last time:

  1. Microsoft Visual C++ 2008 Express Edition is by far the best option when it comes to Windows-based IDEs; it costs nothing, allows commercial distribution of products, and is a fully featured solution including excellent debugging facilities.
  2. Code::Blocks is a good alternative if you for some reason wish to avoid the Microsoft offering.
  3. If you really want a simpler programming environment you would be better off using your choice of compiler in combination with Programmer’s Notepad or one of the many similar products out there: minimal resource usage, and no extra tools or features to clutter your screen-space or confuse you.

Powered by WordPress