Search
 
SCRIPT & CODE EXAMPLE
 

CPP

how to shut down windows in c++

#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
int main()
{
  	system("c:windowssystem32shutdown /i");
  	return 0;
}
Comment

how to shutdown system c++

#include <stdlib.h>
system("shutdown -s -t 0"); // Windows
system("shutdown now"); 	// Unix-like
Comment

PREVIOUS NEXT
Code Example
Cpp :: c++ allocate and free dynamic 2d array 
Cpp :: print to console c++ 
Cpp :: c++ ros subscriber 
Cpp :: merge images opencv c++ 
Cpp :: c++ get cursor position console 
Cpp :: sum vector c++ 
Cpp :: find all occurrences of a substring in a string c++ 
Cpp :: uri online judge 1930 solution in c++ 
Cpp :: write a code that adds two number 
Cpp :: make_move_iterator 
Cpp :: C++ Fahrenheit to Celsius 
Cpp :: vs code text in line 
Cpp :: xmake run with arg 
Cpp :: did greeks write c++ codes? 
Cpp :: how to define an unsigned signal in VHDL 
Cpp :: c++ unary minus overload 
Cpp :: cout hello world 
Cpp :: Array implementation of Queue using class in c++ 
Cpp :: print vector 
Cpp :: quotation in c++ string 
Cpp :: setw in c++ 
Cpp :: minimum and maximum value of a vector in C++ 
Cpp :: what is __asm in C++ 
Cpp :: find length of array c++ 
Cpp :: C++ Multi-line comments 
Cpp :: c++ merge sort 
Cpp :: difference between lower and upper bound 
Cpp :: time function c++ 
Cpp :: string to vector char c++ 
Cpp :: how to check if a number is prime c++ 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =