Author Topic: No out put on console program  (Read 6082 times)

Offline krishnahari

  • Single posting newcomer
  • *
  • Posts: 2
No out put on console program
« 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
« Last Edit: June 15, 2013, 01:33:47 pm by jens »

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3352
Re: No out put on console program
« Reply #1 on: June 15, 2013, 12:53:34 pm »
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

Offline krishnahari

  • Single posting newcomer
  • *
  • Posts: 2
Re: No out put on console program
« Reply #2 on: June 15, 2013, 01:23:42 pm »
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
« Last Edit: June 15, 2013, 01:39:44 pm by krishnahari »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: No out put on console program
« Reply #3 on: June 15, 2013, 01:35:40 pm »
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.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3352
Re: No out put on console program
« Reply #4 on: June 15, 2013, 01:56:24 pm »
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

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3352

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: No out put on console program
« Reply #6 on: June 15, 2013, 02:38:28 pm »
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.