// printout.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include int _tmain(int argc, _TCHAR* argv[]) { char x; FILE* f = fopen("out.bin","wb"); x = 9; fwrite(&x,1,1,f); x = 0; fwrite(&x,1,1,f); x = 3; fwrite(&x,1,1,f); x = 0; fwrite(&x,1,1,f); //fprintf(f,"\0\0"); fclose(f); return 0; }