Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: krishnahari on June 15, 2013, 10:30:53 am
-
No out put on console program
Hi
i am new to Codeblocks, simple program output not showing in console.
I attached a screen shot.
os win 7 64bit.
how to solve my problem.
Regards,
Hari
-
Hello,
First of all try to don't use spaces in paths... they make only pain and have no superior advantage...
second try to rebuild (Build->Rebuild) and please post the !full build! log (from the build log tab).
greetings
-
Hi
my build log...
-------------- Clean: Debug in sample (compiler: GNU GCC Compiler)---------------
Cleaned "sample - Debug"
-------------- Build: Debug in sample (compiler: GNU GCC Compiler)---------------
mingw32-gcc.exe -Wall -g -c "G:\C Exercise\sample\main.c" -o obj\Debug\main.o
mingw32-g++.exe -o bin\Debug\sample.exe obj\Debug\main.o
Output size is 28.36 KB
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings (0 minutes, 0 seconds)
can you please tell me where is the problem.
Regards,
Hari
-
Please do not waste space on the server (it's limited) to add informatio, that can also be posted by copy and paste.
It's much better readable, by the way. if you use code-tags for it.
-
hmm i can't find any error...
what if you start a cmd, cd to your builddirectory and run the programm from there?
Start->Search for cmd
in the cmd type cd c:\your\projet\directory\bin\debug
and from there run your programm
-
delete the bin folder manualy,
try these steps:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_My_build_fails_in_the_compile.2Flink.2Frun_step_with_a_Permission_denied_error.3F
rebuild
-
PLease do not ignore the advice of the forum admins or you get banned for a while!
Last warning.
And use code-tags, if you post sozurces aor log-output (not an advice, just a hint).
Readability is much better.
Do not waste our limited space.
If you absolutely want to add screenshots, use a free image-hoster.
By the way some users stiil might have limited bandwidth or download-volume.