Every time I start a bit file or a dos exe file I can only sence the blackness before it go away. I know I've heard about it before but not where. How do I set windows so the problem go away.
Printable View
Every time I start a bit file or a dos exe file I can only sence the blackness before it go away. I know I've heard about it before but not where. How do I set windows so the problem go away.
enter this before your main returns 0;
Code:int x;
std::cin >> x;
It's not a program I've maid myself (I know about that thing :)) it's BAT and EXE files for DOS in general.
add this as the last line of the bat:
pause
or run it from command.
Say its game.exe and its located at c:\game.exe
then run command (start--run--command)
and type
cd c:\ (press enter)
game.exe (press enter)
i know its in idiot terms but hey, i'm an idiot!
It's a lot easier if you just run the compiled program from the command line.....much less complicated.
i have a similar problem in win2k pro, if i bring up a command prompt, there is no text and until i press enter the prompt is completetely black.