#include <stdio.h> int main() { FILE *FSPOINTER; char STRBUFF[14] = "1010101011100"; //... FSPOINTER = fopen("C:\\Users\\Administrator\\desktop\\file.dat", "w+"); //... fprintf(FSPOINTER, "%s", STRBUFF); //... return 0; }