Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <windows.h>
- int main()
- {
- puts("using winAPI Beep(frequency_hrz, duration_ms)...:");
- Beep(554,500);
- Beep(659,500);
- Beep(554,500);
- Beep(740,1000);
- Beep(880,1000);
- Beep(830,1000);
- Sleep(1000);
- Beep(554,500);
- Beep(659,500);
- Beep(554,500);
- Beep(880,1000);
- Beep(830,1000);
- Beep(659,1000);
- printf("\nEibar ghumate jan! :v \n");
- system("C:\\WINDOWS\\System32\\shutdown -s -t 0");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment