c++ errors
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: c++ errors

  1. #1
    Join Date
    Apr 2012
    Posts
    2

    Unhappy c++ errors

    what is the best way to fix errors in the c++ code?
    using dev c++ ide
    anyone help?

  2. #2
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: c++ errors

    Quote Originally Posted by noah2039 View Post
    what is the best way to fix errors in the c++ code?
    using dev c++ ide
    anyone help?
    Write different code ?!?

  3. #3
    Join Date
    Apr 2012
    Posts
    2

    Re: c++ errors

    ok the thing is am a beginner, really bliq..but i want to learn as much as i can in c++ programming..but every time i try to compile something i get errors...any help, tips?

  4. #4
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,634

    Re: c++ errors

    A good start is to read carefully what the compiler says. If you manage to understand what's wrong and fix it you at least end up with something that syntactically is correct but that doesn't make the code correct. When the code compiles & links you have to use the debugger to fix all your logical bugs.

    Do you follow any book or online tutorial?

    By the way. DevC is very old and not maintained anymore so I recommend another IDE. MS Visual Studio Express is free and also has a very good debugger so I can highly recommend it.
    Last edited by S_M_A; April 12th, 2012 at 03:25 AM.
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    http://www.microsoft.com/visualstudio/eng/downloads

  5. #5
    Join Date
    Mar 2012
    Posts
    12

    Re: c++ errors

    Vote for S M A ,

    VC ++ is program code + debug C,C++ best.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center