i keep getting an error saying
unexpected end of file found, how do i fix that!!!!!!!!
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.
Sometimes, the farthest point from the center is the center itself.
Your life is your canvas, it's only as beautiful as you paint it.
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; }
My best code is written with the delete key.
Ah, you beat me to it WayTooHigh.
-Prelude
My best code is written with the delete key.
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.
Hope is the first step on the road to disappointment.