So, I started learning C about a month ago, and am really enjoying it. I ran into an issue I can't find the solution to. When I try to open a file in the code It comes up as a blank program. I have tried using ".txt" ".c" I just can't seem to find the issue. Any help would be appreciated.
What do you expect your program do? You complain about the program being blank, so I suppose you expected some sort of output instead - is that correct? If so, what output did you expect? Did you expect the contents of the file to be displayed? That's not what fopen does.
fopen simply opens the file and gives you a file pointer that you can then use to work with the file. You can use that file pointer with functions like fgets, fscanf or fgetc to read from the file and you can then use standard output functions like puts or printf to output the characters you read, but fopen does none of those things on its own.
Also note that you should close your file with fclose when you're done using it.
I am clearly confused if someone can give me an example program using, fopen, fclose, fprintf, fread, fwrite, fscanf, fgetc, fputc. It would be greatly appreciated. As the tutorial I'm using is lacking a Example Program.
Huh? That tutorial actually has several examples in it. You must not have been reading it, but merely scanning it to crib some code from it. If you read it, you would have noticed that it even has a link to a complete program.