Update to the 2-January-2013 12.11-SP1 Code::Blocks release for OS X. Have you shared this issue on the Code::Blocks forum or with them directly? Have you tried to compile your code on another platform in Code::Blocks?
You might want to post this over on the developer area in the Apple Support Community.
Whatever happened to the legacy compilation sequence:
gcc -O2 -o alyssahello alyssahello.c
Google search results tell me that "Codeblocks is a cross-platform IDE built around wxWidgets, designed to be extensible and configurable. Runs on Windows and Linux"
Why on earth would you ever use such a thing? Is this a requirement for the class? You don't want it.
If this is a requirement for the class, you might be able to get Codeblocks from MacPorts or something. You could build it yourself, but you would have to learn a bit about Xcode and other stuff first - the catch-22 of open source.
But to reiterate, you don't want to use Codeblocks for anything. It is a waste of your time. If it is required for this class, drop the class and find another one.
I've been using both CodeBlocks and Xcode on Mac for a couple of years.
Xcode is great for developing Mac applications.
CodeBlocks is great if you need a cross-platform IDE.
I'll outline the steps I used to get it working (fairly simple).
1. Get CodeBlocks version 12.11
Don't go here:
http://www.codeblocks.org/downloads (note: 13.12 is known to have a problem on Mac).
Instead, go here:
Click on MacOS and get the .dmg (unless you're more comfortable with .zip).
Read the comments below the download options.
2. After download and installation, drag CodeBlocks.app into your ~/Applications folder.
3. Start CodeBlocks and disable a couple of plugins that cause problems.
Click Menu->Plugins, then Plugin Manager.
The plugins are alphabetized. Find the following and disable them.
Examining your screenshot a little closer, I suspect you may not have selected Console Application.
You can check by clicking Menu->Project->Properties, Build targets. Find "Type:" in the
"Selected build target options" section. It should say "Console application". If it doesn't,
change it and click "OK".
I don't recall having to do anything else. Create a project (Hello world) and run.
Please report whether this solves your problem - thanks.