Archives - Posts tagged as 'vfprintf'
writing log files or config files uses fprintfJanuary 23rd / 1 Comment »
To write formatted string to files, the easiest way is uses fprintf. It works exactly the same way like printf. File * fp=fopen("filename","w"); fprintf(fp,"%s.%s = %d\n", ... Continue
