Compiler giving error

This is a discussion on Compiler giving error within the C++ Programming forums, part of the General Programming Boards category; Hello thier im new to programing and ive looked on the internet for any previos problems that were like this ...

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    114

    Compiler giving error

    Hello thier im new to programing and ive looked on the internet for any previos problems that were like this but none were to be found so i am asking it myself\
    It wont let me build/Compile my first program
    Code:
    #include <iostream>
    
    using namespace std;
    
    int main()
    {
      cout<<"HEY, you, I'm alive! That's right I'm alive!\n";
      cin.get();
    
      return 1;
    }
    It gives me a error saying
    "Nathans first project - Debug" uses an invalid compiler. Skipping...
    Nothing to be done.
    or if i change build target to release its
    "Nathans first project - Release" uses an invalid compiler. Skipping...
    Nothing to be done.

    If you can help me figure out the problem here please respond and thanks for reading this post in advance


    Oh thanks MacGyver
    By the way it was Codeblocks
    Last edited by Nathan the noob; 06-26-2008 at 02:15 AM.

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    Next time mention what compiler, IDE, etc. you are using.

    Try reading this: http://forums.codeblocks.org/index.php?topic=8603.0

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    Ah yes, the joy of learning how to program with an IDE. All of those nasty, irrelevant details -- like what a compiler is, and what compiling and linking are, build artifacts -- blissfully hidden from view.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do you resolve this error?
    By -EquinoX- in forum C Programming
    Replies: 32
    Last Post: 11-05-2008, 04:35 PM
  2. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 02:17 PM
  3. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  5. UNICODE and GET_STATE
    By Registered in forum C++ Programming
    Replies: 1
    Last Post: 07-15-2002, 04:23 PM

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