Skip to content

C program to shutdown windows7

Kakaji · Dec 20, 2013 16:40 1 50
Kakaji OP
Dec 20, 2013 16:40
# include # include main () { char ch ; printf ("Do you want to shutdown your computer now (y/n) n "smiley ; scanf ( "%c" ,& ch ) ; if ( ch == 'y' || ch == 'Y' ) system ( "C: WINDOWS System32 shutdown /s" ) ; return 0 ; } . copy/paste.
1 reply
S-ALI.RAZA
Dec 26, 2013 07:23
#1
Y/n what.smiley