News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

how can i make the MS-DOS black box from flashing

Started by bazso, July 17, 2011, 04:50:22 AM

Previous topic - Next topic

bazso

hello my name is keith, i am learning C++ code blocks it is very helpful in this task, i am reading out of the book C++ Primer Plus fifth edition, between code blocks and the book it has been keeping me very busy jogging down notes of every little thing, i was using a earlier version of code blocks and i was able to see the end result after i compiled and ran the program i just made, on my screen it was showing me the MS-DOS like black box with white text but now

after when it has successfully compiled and then i run the program if it is not asking a question it does a very quick blink flash, if it is asking me a question it waits for me to answer and then it does this to, so what i am getting at is i don't see the total end result that i am use to seeing of what i was seeing before from it

what i am asking is,is there a way i can config code blocks to have it stop doing this or is there something i need to download to stop it from doing this blinking flashing?

bazso

i guess to much info was a bad thing....

i am taking that no one here has any idea of what i am talking about?

Jenna

In "Project -> Properties -> Build targets" the "Type:" has to be "Console application" and "Pause when execution ends" has to been checked.

This works only inside C::B and if you do not run your program through a debugger.
In the second case you can put a breakpoint on the last line of your main-function.

bazso

#3
thank you very very much for helping me out

*one last thing*

i am not very well educated on how to config the compiler and to have it do certain things, if i do know how to config it a little bit its through me guessing so far, is there a tutorial that can answer any further questions i have?

before i have to come to the forms and ask in the manner like i did again...

bazso

*sigh* i have a new problem now....

when i click on project, properties does not allow me to access it, its greyed out, what did i do wrong?

oBFusCATed

It is disabled, when your program is run or debugged.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]