|
|
D-Viper
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 15
|
|
|
|
|
|
|
|
Probably only I have the problem:
I open the file, then a dos window opens and everything is OK, then I type something, and when I press enter the dos window closes itself.
What can I do to make it open after I press enter?
|
|
|
|
|
|
B~HFH
Global Admin
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 28
|
|
|
|
|
|
|
|
Try to open it with cmd.
gl
|
|
|
|
|
|
D-Viper
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 15
|
|
|
|
|
|
|
|
oh.. it worked alright :)
thx
|
|
|
|
|
|
Inj3ction
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 102
|
|
|
|
|
|
|
|
rofl it was funny question
|
|
|
|
|
|
KashaBash
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 12
|
|
|
|
|
|
|
|
i think you enter chars instead int...
|
|
|
|
|
|
cp77fk4r
Global Admin
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 621
|
|
|
|
|
|
|
|
nope KB, the problem was that after he type the password and press ENTER- the application was output a msg end quit without waiting.
|
|
|
|
|
|
K-Gen
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 26
|
|
|
|
|
|
|
|
It's a known "problem" with console applications since when the DOS application had terminated it returned to DOS and you could still se it's last output .. here the creator of the challenge didn't add getch() or system("pause") in the end of the program too keep it open.
So you should open the app from the command line (e.g cmd/command)
|
|
|
|
|
|
Inj3ction
Registerd on: 01/01/1970, 04:00:00
Location::
Posts: 102
|
|
|
|
|
|
|
|
when u'r saying the commands that they didn't put u r acshaly giving him a hint that the prog. was built in C.
|
|
|
|
|