Thread: visual studio or code blocks

  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    1

    visual studio or code blocks

    Hi!
    I'm starting to learn program in c++, and i want to know if is better i use visual studio or codeblocks( i have the two of then here).
    Thanks

    (Sorry for the erros, because i don't know well english)

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    It's better if you use them both.

    It's better if you enable lots of warnings (on both of them)

    If your code compiles and works on both of them, with lots of warnings enabled (and you fix them), then you're in pretty good shape as far as knowing what C++ guarantees (rather than what a particular compiler will let you get away with).

    Most people learning on one compiler find the step to another compiler pretty hard sometimes.
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Compiling Program
    By wco5002 in forum C++ Programming
    Replies: 13
    Last Post: 11-06-2007, 12:56 PM
  2. Visual Studio quick code
    By letdoit in forum C++ Programming
    Replies: 5
    Last Post: 08-13-2007, 09:52 PM
  3. more then 100errors in header
    By hallo007 in forum Windows Programming
    Replies: 20
    Last Post: 05-13-2007, 08:26 AM
  4. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM