"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

C++ problem !!!

bBU.CyTrobIc 06.08.2001 - 17:26 591 2
Posts

bBU.CyTrobIc

#include "billrulz.h"
Avatar
Registered: Oct 2000
Location: Hamburg
Posts: 1875
hi,

ich habe ein Consolenprogramm (ohne MFC), und will es nach dem durchlaufen sofort geschlossen haben und nicht exit(1); , weil dann steht das fenster noch.

Mit geninterrupt(0x21); gehts aber dann verreckt auch windows

hat jemand ne idee ?

mfg Cy

Shadow

i am still docht ...
Avatar
Registered: Nov 2000
Location: Österreich
Posts: 1055
da problem hat ich auchmal, ich habs dann soweit gebracht das sich das fenster zwar schloss aber irgendwie dann doch noch im hintergrund lief =(

Lactobacillus

Addicted
Registered: Sep 2000
Location: gone
Posts: 389
Eine"normale" Konsolenanwendung schließt sich, selbst eh automatisch, nur wenn du das ganze in der Entwicklungsumgebung ausführst, muß man eine Taste drücken...

Also: Kompilieren und dann die EXE ausführen.

Lactobacillus
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz