Thread: Help, I don't know what to do....

  1. #1
    Registered User
    Join Date
    Apr 2009

    Smile Help, I don't know what to do....

    Hello! I'm new to this forum and nice to meet you all. I'm age 16 and still going to high school. I'm taking programming class, but my teacher is doing a very bad job at teaching it (I'm very disappointed in him). So... why I'm here, eh? Same as you all. I want to learn how to program, but as you can see..... I don't know how to do it, because of my disappointed teacher. I been reading the C++ Made Easy: Learning to Program in C++ (stuck on the first page) and come across the compiler..... well here the problem (a stupid one, indeed).
    My point to all this is that...... I never have ever use a Compiler before..... I don't know how to make the program run....

  2. #2
    Registered User
    Join Date
    Mar 2009
    There are good resources on this site and on the web, but you need to dig. Try C and C++ Compiler Information and Reviews - for starters.

  3. #3
    Registered User BuzzBuzz's Avatar
    Join Date
    Feb 2009
    From the image it looks like you may not have a valid compiler selected or installed. code:blocks comes with the gcc compiler but gives you the option not to install it when you intsall code:blocks.

    To check go to:


    and then have a look at what is in the SELECTED COMPILER box. Select GNU GCC Compiler if it is not already selected. Then OK.

    Once that is done, go back to your program code and press F9 to compile and run your program. If you get the same error again then it looks like the compiler is either not installed, or corrupt, in which case I'd suggest you uninstall and reinstall code:blocks and make sure that the compiler is installed as well.

    As for your teacher. It may not be that he is a bad teacher, more that you and he have a mismatch in expectations. You haven't explained what the actual problem you have with him is, only that he is a bad teacher and you are disappointed. What are the issues that you're having? Once you know exactly what the problem is you could probably approach him with your concerns and work something out.
    Any help I give may be classified as:
    The Blind leading the Blind...
    Currently working through:
    "C++ Primer Plus"

Popular pages Recent additions subscribe to a feed