we provide you the c downloads,c programing,c tutorials and much more at www.cplusplus-in.blogspot.com.Codes of c++ are also there for your help.This blog build your c programing style.
Wednesday, 20 June 2012
how to shut down computer using c++
This is the source code for shutting down the computer
#include <stdio.h>
#include <stdlib.h>
main()
{
char ch;
printf("Do you want to shutdown your computer now (y/n)\n");
scanf("%c",&ch);
this is not working
ReplyDeleteerror?
Deletewill this work with turbo c++ version 3.0
ReplyDeleteon what compiler you try this????
ReplyDeletei think its for dev software.
you have to add some other things according to the compiler.