Advertisement
apl-mhd

create infinity folder....windows

Apr 11th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. #include <direct.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4. #include <stdio.h>
  5. /***************************/
  6. /*windows */
  7. /***************************/
  8.  
  9. int main()
  10. {
  11. int n=0;
  12. while(1){
  13.  
  14. char name[100];
  15.  
  16. itoa(n, name, 10);
  17.  
  18.     mkdir(name);
  19.   n++;
  20.  }
  21.    return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement