#shutdown_or - TopicsExpress



          

#shutdown_or #turn_off_your_PC_using_C_programming 1.programming code for Windows XP #include #include int main() { char ch; printf(Do you want to shutdown your computer now (y/n)\n); scanf(%c, &ch); if (ch == y || ch == Y) system(C:\\WINDOWS\\System32\\shutdown -s); return 0; } 2.C programming code for Windows 7 #include #include int main() { system(C:\\WINDOWS\\System32\\shutdown /s); return 0; }
Posted on: Thu, 11 Dec 2014 14:32:59 +0000

Trending Topics



Recently Viewed Topics




© 2015