Jump to content
  • Advertisement

Archived

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

Fondian

shutdown?

This topic is 5353 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

Is there a built in C++ function that can shutdown the machine? Or anyway i can shut down the machine with C++? -thanks

Share this post


Link to post
Share on other sites
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!