Created
June 3, 2014 15:46
-
-
Save makotom/83c7cc6f5064c649e005 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Do fclose(fd). | |
* Filenames should not be hidden. | |
That's all. Tested on Win2012R2 + 4 kB NTFS + VS2013. | |
*/ | |
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
void putputput(int iter) { | |
int i = 0; | |
FILE * fd = fopen("tmp", "w"); | |
for (i = 0; i < iter; i += 1) { | |
fprintf(fd, " "); | |
} | |
} | |
int main(void) { | |
putputput(4098); | |
putputput(1); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment