cplusplus.com cplusplus.com
cplusplus.com   C++ : Forums : Beginners : Shutdown computer
  Search:
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forums
Forums
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Articles
Lounge
Jobs

-

post  Shutdown computer

Sketchy Ninja (3)
I was wondering if there was anybody who could help me out with some code to shutdown the computer.

I have a group of kids i am working with to make an R.P.G game and we want to shutdown the computer if they press the wrong button.
|
bnbertha (399)
I assume it's windows in which case ExitWindowsEx() will do it

http://msdn.microsoft.com/en-us/library/aa376868(VS.85).aspx

Is Microsoft's help page on all the options
|

This topic is archived - New replies not allowed.
Home page | Privacy policy
© cplusplus.com, 2000-2008 - All rights reserved - v2.2
Spotted an error? contact us