![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Nov 2004
Posts: 21
Rep Power: 0
![]() |
hi every1,
ive been looking around and cant seem to find a way to close the console(dos) window at the same time i exit my application...would anyone be able to post me a method or a reference to a method that can help accomplish this?
__________________
<span style='font-family:Courier'><span style='font-size:12pt;line-height:100%'><span style='color:orange'>☼☼☼ Just kill em all, and let God sort em out. ☼☼☼</span></span></span> |
|
|
|
|
|
#2 |
|
Newbie
Join Date: Nov 2004
Posts: 21
Rep Power: 0
![]() |
also is there a simple way to hide the consol like maybe minimize it on runtime or is it more complex to do then i think it is?
__________________
<span style='font-family:Courier'><span style='font-size:12pt;line-height:100%'><span style='color:orange'>☼☼☼ Just kill em all, and let God sort em out. ☼☼☼</span></span></span> |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
I don't know of any way to do that, but that doesn't mean there isn't a way. It probably wouldn't be very clean, though. Since java is designed to be OS-independent, and what your talking about is very much OS-dependent, i dont think java has much of any capability to pull off what you're looking for.
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() |
#include <iostream>
int main() {
/* .... blah .... */
system("exit");
return 0;
}
__________________
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|