User forums > General (but related to Code::Blocks)

Executing Problem

(1/1)

Abir.Ahmed:
Hello CB Experts.  :)

I Created a program with code:blocks. but when i run it with double click. It shows up and gone. nothing can be seen. What is the problem. Am i mistaking something? Please, Give me some suggestion.

Thank You
Abir Ahmed

oBFusCATed:
"Developer forums (C::B DEVELOPMENT STRICTLY!) " <-- wrong sub-forum please follow the rules.

Have you tried to debug it? Put breakpoint?

BlueHazzard:
It's a simple console programm? Did you tried to run it from C::B?
What OS do you use?
C or C++?
try to add at the end of the programm:
c:

--- Code: ---getchar();
--- End code ---
c++:

--- Code: ---cin.get();
--- End code ---

Jenna:

--- Quote from: oBFusCATed on January 23, 2013, 08:39:24 am ---"Developer forums (C::B DEVELOPMENT STRICTLY!) " <-- wrong sub-forum please follow the rules.

Have you tried to debug it? Put breakpoint?

--- End quote ---
Moved to general.

Most likely a console-program what closes immediately after output (e.g. "Hello world"-example).

Abir.Ahmed:
Thank You. Thank You For All of Your Support  :). I appreciate Your Support. BlueHazzard, Your Reply Helps Me. Thank You. :)

Navigation

[0] Message Index

Go to full version