Our Recommendation for You Search your Query, You can find easily. for example search by book name or course name or any other which is related to your education


how to shut down computer using c++

c++ shutdown computer

This is the source code for shutting down the computer
#include <stdio.h>
#include <stdlib.h>

   char ch;

   printf("Do you want to shutdown your computer now (y/n)\n");

   if (ch == 'y' || ch == 'Y')
      system("C:\\WINDOWS\\System32\\shutdown -s");     //c++ shutdown

   return 0;

our recommendation for you