C program to turn off your pc

488 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
488
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
11
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

C program to turn off your pc

  1. 1. SHUT DOWN YOURCOMPUTER USING„C‟ LANGUAGEIS IT POSSIBE !?!?!?!?!?!?!??!?!?!?!?!?!?!?
  2. 2. OF COURSE !!!!!!!!!!SHUT THEM DOWNPROGRAMMATICALLYYour computers and laptops !!!!!!!
  3. 3. ALL YOU NEED TO DO IS TOWRITE A PROGRAM IN A „C‟COMPILER ! ! ! !PREFER MICROSOFT VISUAL STUDIO
  4. 4. I KNOW WHAT‟S GOING INYOUR MIND AT THIS INSTANTOF TIME !!!!!HOW BIG IS GOING TO BE A PROGRAM~!~!
  5. 5. NOTHING TO FEAR IT‟S NOTTHAT BIG YOU ARE THINKING@@@@@YOU WILL BE SURPRISE TO SEE THEPROGRAM !!
  6. 6. SHUTING DOWN ACOMPUTER WOULD HAVENEVER BEEN SO MUCH EASY#!#!#!#!#!#!#!#!EASILY UNDERSTANDABLE PROGRAM$$$$$
  7. 7. THE MOST COMMON DIALOG BOX !!!!!!
  8. 8. THIS DIALOG WON‟T APPEAR INFRONT OF YOU AFTER THISPROGRAMMABLE CLOSING ! ! !! !C PROGRAMMING AT IT‟S BEST(..)(..)(..)(..)(..)(..)
  9. 9. <PROGRAM>ALWAYS THE PLEASURE TO SEE THEMWORK….
  10. 10. #INCLUDE <STDIO.H>#INCLUDE <STDLIB.H>INT MAIN(){CHAR CH;PRINTF("DO YOU WANT TO SHUTDOWN YOUR COMPUTER NOW(Y/N)N");SCANF("%C",&CH);IF (CH == Y || CH == Y)SYSTEM("C:WINDOWSSYSTEM32SHUTDOWN /S");RETURN 0;}NOTEPLEASE TYPE THE ABOVEPROGRAM IN SMALL LETTERS
  11. 11. THE PROGRAM WORKSEFFECIENTLY WITH THE“WINDOWS 7”WE HAVE TO MAKE CERTAIN CHANGESFOR OTHER OPERATING SYSTEMS…………………
  12. 12. IF YOU HAVE TO TRY THISPROGRAM TO SHUT DOWN YOURCOMPUTER THE ONLY WAY IS TOWRITE MANUALLY IN THE EDITOROF THE COMPILER, SINCE I HAVEUPLOADED IT IN THE CAPITALLETTERS…….THE COMPILERWOULD SHOW ERROR IF YOUWILL TRY TO COPY AND PASTEIT‟S FOR YOUR BETTERMENT ! ! ! ! ! ! ! ! !
  13. 13. IF YOU ARE LOOKING TO CLOSE ACOMPUTER HAVING WINDOWS XPAS THE OPERATING SYSTEM YOUMAY CONTACT ME SO THAT I AMABLE TO PROVIDE YOU WITH THECHANGE IN THEPROGRAM……SINCE IT IS ANOLDER VERSION I HAVEN‟TMENTIONED ANYTHING ABOUTIT….DO PROVIDE ME WITH YOURFEEDBACKS ! ! ! !
  14. 14. YOU CAN ENJOY MY PREVIOUSUPLOADS ON THE SAMEPLATFORM THAT IS „C‟ LANGUAGEAND YOU ARE FREE TO ASK MEAND FEED ME WITH YOURQUERIES…….AS I AM READY TOWELCOME THEM…………….ANDYOU CAN GET MY EMAIL ID FROMMY PROFILE AND MY TWITTER IDAS WELL ! ! ! ! ! ! !EVERYTHING IS POSSIBLE USING „C‟LANGUAGE
  15. 15. BIRD BORN IN A CAGEALWAYS THINKS FLYINGHIGH IS AN ILLNESS ! ! ! !!THANK YOU AND I HOPE YOU WILL LIKETHIS ONE.

×