i keep getting an error saying
unexpected end of file found, how do i fix that!!!!!!!!
Printable View
i keep getting an error saying
unexpected end of file found, how do i fix that!!!!!!!!
make sure you close all your curly braces and parentheses. and don't forget to check to make sure you have semicolons where you need them.
Put a closing brace where you forgot.
-PreludeCode:int main ( void )
{
int i = 0;
while ( i < 10 ) {
i++;
/* No closing brace, unexpected end of file */
return 0;
}
Ah, you beat me to it WayTooHigh. :)
-Prelude
Stop reading past the end of the file.
I'll take a wild guess and assume you're trying to read a specific file format. As such, I'll assume that given the header that the file format uses, it expects there to be more data then is currently available in the file.
It's also possible that you're using encoded data and the checksum is incorrect. This is a common occurance when decoding .rar files (ie: you download a game or something from an newsgroup and when combining the files, one of them is corrupt).
Quzah.