SyntaxFix
Write A Post
Hire A Developer
Questions
Well, you need to first get a good book on C and understand the language.
FILE *fp; fp = fopen("c:\\test.txt", "wb"); if(fp == null) return; char x[10]="ABCDEFGHIJ"; fwrite(x, sizeof(x[0]), sizeof(x)/sizeof(x[0]), fp); fclose(fp);