S
Sweety
plz i need the code?
bye,
bye,
^^^^^plz i need the code?
system(cmd);Mark A. Odell said:(e-mail address removed) (Sweety) wrote in
char *cmd = "Shutdown";
In said:plz i need the code?
system(cmd);
For DOS *only*:
^^^^^^^^^^^^^^^^^^In said:(e-mail address removed) (Michael Scarlett) wrote in
Not portable in the sense that it may do nothing on an ISO C compliant
implementation, like say an embedded system.
In said:(e-mail address removed) (Dan Pop) wrote in
This may also work for other systems as newer machines have a soft power
button that actually shuts down gracefully.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.