What is a good c++ compiler for windows xp

This is a discussion on What is a good c++ compiler for windows xp within the C++ Programming forums, part of the General Programming Boards category; I have been learning C and encountered errors with the compiler that I was using. I expect less issues with ...

  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    38

    What is a good c++ compiler for windows xp

    I have been learning C and encountered errors with the compiler that I was using. I expect less issues with compilers for c++ and windows but was wondering which one is good to learn c++ with.

  2. #2
    Programming King Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Middle of NoWhere
    Posts
    320
    Assuming you want a free one on MS Windows.
    Visual C++ 2008 Express Edition would be worth looking at.
    Also look this....

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,918
    If you go for Visual Studio, go for 2010. No good being stuck in the past.
    GCC is another good compiler. Fits well with Code::Blocks.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    Registered User
    Join Date
    May 2009
    Posts
    38
    Thanks everyone

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,764
    The issue isn't necessarily with the compilers, but the non-portable programming knowledge you've acquired.

    There are a lot of "void main" types that will tell you all sorts of crap that will "work for them", and it may "work for you" as well (for a while). But sure enough, time will pass and you're using another compiler. All of a sudden, your "knowledge" appears to no longer work, and you blame the compiler.

    Download ALL the compilers you know about, and practice coding with all of them at the same time. If your code works with multiple compilers, then you're probably on to something worth knowing in the longer term.

    Implementation specific features are fine (and necessary), but you've got to know where the boundaries are!
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  6. #6
    Registered User
    Join Date
    May 2009
    Posts
    38
    Thanks

  7. #7
    Programming King Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Middle of NoWhere
    Posts
    320
    There are a lot of "void main" types that will tell you all sorts of crap that will "work for them", and it may "work for you" as well (for a while). But sure enough, time will pass and you're using another compiler. All of a sudden, your "knowledge" appears to no longer work, and you blame the compiler.
    Thanks....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 12:07 PM
  2. A good C++ compiler
    By Cris987 in forum C++ Programming
    Replies: 15
    Last Post: 01-02-2004, 08:42 AM
  3. Good C Compiler to use for learning???
    By TR15220 in forum C Programming
    Replies: 2
    Last Post: 12-10-2003, 11:54 AM
  4. Where can I get a good old Turbo C compiler?
    By sundeeptuteja in forum C Programming
    Replies: 2
    Last Post: 09-15-2002, 08:40 AM
  5. Anyone reccomend Digital Mars compiler?
    By joshuaman in forum C++ Programming
    Replies: 7
    Last Post: 06-20-2002, 12:22 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21