User forums > Help
Console Window Doesn't Appear
(1/1)
smguy:
Hello. I'm learning C for a class I'm taking, and I was recommended Code::Blocks for my compiler/development environment. I was following a long with a simple online tutorial to familiarize myself with the syntax, and it told me to run a very simple program:
--- Code: ---#include <stdio.h>
int main()
{
printf( "I am alive! Beware.\n" );
getchar();
return 0;
}
--- End code ---
I created a new Console Application project for C, type in this code, hit Compile (which ran fine according to the log), then hit Run, and nothing happened. As far as I can tell, I was supposed to get a console window that would open and wait for me to hit Enter before closing again. However, I get nothing.
Any help would be appreciated, thanks!
oBFusCATed:
Read this http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
And then inspect you build log.
Then search how to install a compiler, because you probably don't have one installed.
Navigation
[0] Message Index
Go to full version