Skip to content

Instantly share code, notes, and snippets.

@wlach
Created June 23, 2009 19:49
Show Gist options
  • Save wlach/134788 to your computer and use it in GitHub Desktop.
Save wlach/134788 to your computer and use it in GitHub Desktop.
include <stdio.h>
int main(int argc, char *argv[])
{
FILE *fp = fopen(argv[1], "w");
int b;
fwrite(&b, sizeof(int), 1, fp);
fclose(fp);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment