Archived

This topic is now archived and is closed to further replies.

shutdown?

This topic is 5045 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

ok mister you just registereed recently and want to shut off peoples comps?

is this to write a w0rm and be a 1337 h4x0r?

explain why.




[edited by - DerAngeD on February 21, 2004 2:47:29 PM]

Share this post


Link to post
Share on other sites
Actually im making a text rpg and im making it with the options to quit,shutdown,log out,restart...


and about the registering recently...this is a new account, cause i forgot my old user name and password which is from september 2000...

[edited by - Fondian on February 21, 2004 2:51:48 PM]

Share this post


Link to post
Share on other sites
C++ doesn''t have any built-in way to shutdown the computer, but the Win32 API has functions that let you shutdown, restart, go to standby, etc.

You can get the full scoop by searching the MSDN library for "shutdown system".

______________________________________________________________
The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ
MySite
______________________________________________________________

Share this post


Link to post
Share on other sites