Ho questo cod:

#include <iostream>

using namespace std;

int main (int argc, char *argv[])
{

//SPAZIO PER LETTURA FILE...

FILE * pFile;
char string [1000];

pFile = fopen ("estrazioni.txt" , "r");
if (pFile == NULL) perror ("Errore");

else {
while(!pFile.eof()) {
fgets(string , 100 , pFile);
puts (string);
}
}


//--------------------------


cout << "Press ENTER to continue..." << endl;
cin.get();
return 0;

}



che mi da questo errore in fase di compilazione:

errore:
17 C:\Dev-Cpp\leggererigaxriga2.cpp `eof' has not been declared

Come potrei risolvere?