Thread: need help with compler

  1. #1
    Registered User
    Join Date
    Apr 2008
    Location
    New Zealand
    Posts
    3

    need help with compler

    im using dev-c++ compiler and cant get it to run my programs it say that theys compiled but when i try to run them it say that there not compiled
    im new to programing and nee halp any advice would be cool

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Are you sure it's not that the compile is finished, but there are errors - that would lead to the symptoms you describe - the compiler finished compiling, but due to errors didn't produce the final binary executable file.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    "Compile" and "Build" are two different things in most IDEs.

    The former just compiles the single current source file to it's corresponding object file (assuming all is well).

    The latter does the extra work of combining all the objects, libraries and resources into something you can run.
    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