#include <iostream>
#include <conio>
#include <windows>
void main()
{
int opt;
cout<<"\t\twhich type of window you have\n\t\tEnter one for shoutdown for windows xp\n\t\tEnter 2 for windows 7\n";
switch(opt)
{
case 1:
system("C:\\WINDOWS \\System32\\shutdown-s-t-0");
break;
case 2:
system("C:\\WINDOWS \\System32\\shutdown/s/t 0");
break;
}
getch();}
#include <conio>
#include <windows>
void main()
{
int opt;
cout<<"\t\twhich type of window you have\n\t\tEnter one for shoutdown for windows xp\n\t\tEnter 2 for windows 7\n";
switch(opt)
{
case 1:
system("C:\\WINDOWS \\System32\\shutdown-s-t-0");
break;
case 2:
system("C:\\WINDOWS \\System32\\shutdown/s/t 0");
break;
}
getch();}
thanks!dear for your comments.
ReplyDeleteI ran a bunch of Google searches and Kizi Games put together a list here. I hope to add to it as I can think of more activities.
ReplyDelete