need help with compler

This is a discussion on need help with compler within the C++ Programming forums, part of the General Programming Boards category; im using dev-c++ compiler and cant get it to run my programs it say that theys compiled but when i ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,451
    "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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

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