problem with codeblocks

This is a discussion on problem with codeblocks within the C++ Programming forums, part of the General Programming Boards category; i am a newbie to C++ programming. so i downloaded "code blocks" as said in one of the webpages here. ...

  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    1

    Question problem with codeblocks

    i am a newbie to C++ programming. so i downloaded "code blocks" as said in one of the webpages here. but when i press F9 to build and run , i get a message that "main.cpp" is using a invalid compiler. what should i do ? kindly help me

  2. #2
    Registered User John C's Avatar
    Join Date
    Aug 2009
    Posts
    1
    Hi,

    compile that for testing:

    Code:
    #include <iostream>
    
    using namespace std;
    
    int main()
    {
    
    cout << "Hallo" << endl;
    
    return 0;
    
    }
    Maybe it is a syntax error or something.

    best rgds, John C

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    Quote Originally Posted by c::b downloads
    codeblocks-8.02-setup.exe 28 Feb 2008 10.8 MB Sourceforge or BerliOS
    codeblocks-8.02mingw-setup.exe 28 Feb 2008 19.3 MB Sourceforge or BerliOS
    The first time you download c::b, you need the larger image, which contains IDE AND COMPILER.

    The smaller one is the IDE itself, which is being actively developed, and changes often.
    The compiler is pretty static, so you tend to only need to get that just the once.
    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

Similar Threads

  1. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 10:22 AM
  2. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  3. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  4. Code::Blocks problem
    By eaane74 in forum C++ Programming
    Replies: 6
    Last Post: 05-24-2007, 07:24 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM

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