#include<stdio.h>
int main() { unsigned char buff; FILE *fp = fopen("Hi.txt","r"); FILE *out = fopen("Hi1.txt","w"); while(!feof(fp)) { fread(&buff,1,1,fp); fprintf(out, "%d ,",buff); } fclose(fp); fclose(out); return 0; }
This code i am able to run on MingGW. But on Keil i am able to compile only but not able to Debug Why?