Simple program which restart your computer in 10 seconds.
#include <iostream>
using namespace std;
int main ()
{
system("shutdown -s -t 10");
system("PAUSE");
return 0;
}
// Snippet to delete files
//Written by nirvanarupali
#include <iostream>
using namespace std;
int main ()
{
if( remove( "C:\\File.txt" ) == -1 ) // You can change this to a directory
// of your file.
cout...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.