ok im getting 2 errors for this
missing prototype for ReadNext
and
undefined reference to _ReadNext
am i using it the wrong way or something?Code:CurrentRec++; ReadNext(CurrentRec);
ok im getting 2 errors for this
missing prototype for ReadNext
and
undefined reference to _ReadNext
am i using it the wrong way or something?Code:CurrentRec++; ReadNext(CurrentRec);
ReadNext() is not a function in the standard C library. If you have multiple source files (.c), maybe it's in one of those.
Or perhaps you defined ReadNext() below the main() function. In which case, you need to add a prototype for it above main(). Something like:
void ReadNext( int rec );
Basically just take the first line where you defined it, and copy it somewhere above main(), and add a semicolon on the end.
yeh its not , its a win32 api functions.sorry bout that