heres my program and I wonder if I can use fgetc() as alternative for scanf() to read an input character...
I think the way I used fgetc() their is technically wrong.. so anyone correct me please...??
printf("Input name of the text file");
if (inputf = fopen(filename, "r") == NULL)
printf("ERROR: %s cannot be opened.\n", filename);
while ((c = fgetc(inputf)) != EOF)