how do i run c++ prog in code block? after building program sends me to build log and then no response
- Try Press F9.
My guess is you didn’t create a project first. Code::Blocks cannot compile a single file (yet).
Click Project/New… and select “console application”. This will create a new project containing a single source file named main.cpp. Source:http://forums.codeblocks.org/index.php?topic=33.0
1 Like
What are you talking about?? I create single files ALL THE TIME.
The link you gave is from 2004.
the problem is, codeblock is not a compiler,its ide. so u need to install any c compiler manually (or atleast setup in codeblock)or just download codeblock with gcc package from official site.
1 Like