#include int main(int argc, char** argv) { FILE* fp = fopen("blah.txt", "w"); //fprintf(fp,"%d", 255); fputc(255, fp); return 0; }