#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main()
{
system("c:windowssystem32shutdown /i");
return 0;
}
#include <stdlib.h>
system("shutdown -s -t 0"); // Windows
system("shutdown now"); // Unix-like
Code Example |
---|
C :: how to remove from a string c |
C :: Succ de ch |
C :: npm fix old lockfile |
C :: operators priority in c |
C :: C percentage program |
C :: get current used proxy windows 7 |
C :: how to mutex lock in c |
C :: c round function |
C :: c float remove trailing 0 |
C :: check if the c code is a palindrome |
C :: recursion to convert decimal to binary |
C :: c random array |
C :: fractional knapsack problem in c |
C :: how do you make a copy of a linked list in c |
C :: c realloc |
C :: int_min in c |
C :: c style string |
C :: initializa 2d array c |
C :: compare c strings |
C :: identifier bool is undefined in c |
C :: c loop |
C :: concatenate two strings without standard library in C |
C :: unsigned char c programming |
C :: c print |
C :: signed and unsigned in c |
C :: c check if character is upper case |
C :: stack and heap memorym in ram |
C :: C special character display |
C :: unused variable in c |
C :: c code recursive function to print numbers between two numbers |