I was just wondering is this reading a file one byte per time?
int main ()
{
FILE * pFile;
int c;
int n = 0;
pFile=fopen ("myfile.txt","r");
if (pFile==NULL) perror ("Error opening file");
else
{
do {
c = getc (pFile);
printf("%c-",c);
} while (c != EOF);
fclose (pFile);
}
system("PAUSE");
return 0;}