Thread: problem with codeblocks

  1. #1
    Registered User
    Join Date
    Aug 2009

    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

    compile that for testing:

    #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 int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    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.

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, 11: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