fgetc() function in C Programming Language
Hello i am trying to learn to read files in c specifically a txt file called Hello (It has in the word Hello ) and i am using the code from the page https://www.tutorialspoint.com/c_standard_library/c_function_fgetc.htm
but it prints nothing after some experiment i find that it the FILE pointer gets in the eof
I am using the dev-c++ what i do is to drag the txt file from the desktop and drop it on the project i think that is my mistake but i can not think another way to put a file in dev-c++
Thank you!