Hi, I want to make a program which turns off the computer. See:
1 2 3 4 5 6 7 8 9 10
|
#include <stdlib.h>
using namespace std;
int main()
{
system("@ECHO off");
system("shutdown /s /f /t 30 /c You are #*@%");
return 0;
}
|
How to make it works? I know "You are #*@%" must be in quotation marks but then it shows an error.
Last edited on