Quote Originally Posted by noethe View Post
I keep getting these errors no matter what I do...
As bithub mentioned, in C, you need to declare all variables at the start of a function. In this case, the error is caused by the fact that you declared char array[][] after the call to fopen. Move that line up to where you declare the other variable and the error(s) should go away.