i print data in console with format
printf("\b\b\b\b%3d%%",data);
if i want to write data into file what format i would use ?
Code:FILE *fout = fopen("file1.txt", "w"); fprintf(fout, "WhatFormatHere ",data); // what format here ?
i print data in console with format
printf("\b\b\b\b%3d%%",data);
if i want to write data into file what format i would use ?
Code:FILE *fout = fopen("file1.txt", "w"); fprintf(fout, "WhatFormatHere ",data); // what format here ?
printf and fprintf take the same kind of format string.
Kurt