Guest User

crash.c

a guest
Oct 4th, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. void main() {
  5. FILE *file = fopen("c:\\users\\peterhe\\desktop\\c\\file", "w+b");
  6. int in;
  7.  
  8. while(0 == 0) {
  9. in = rand();
  10. fwrite(&in, sizeof(in), 1, file);
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment