Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. #define SUCCESS 0
  5.  
  6. void exit_Pro()
  7. {
  8. printf("Press any Key to exit: ");
  9. fflush(stdin);
  10. getchar();
  11. }
  12. int main(int argc, char **argv) {
  13. atexit(exit_Pro);
  14.  
  15. return SUCCESS;
  16. }
  17.  
  18. #include <stdio.h>
  19.  
  20. int main(int argc, char *argv[]) {
  21. printf("Press any Key to exit: ");
  22. fflush(stdout);
  23. getchar();
  24. }
  25.  
  26. void exit_Pro()
  27. {
  28. fprintf(stderr, "Press any Key to exit: ");
  29. getchar();
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement