Réponse acceptée !
En C (stdlib)
FILE *file = fopen("nomfichier", "r");
fseek(file, 0, SEEK_END);
taille = ftell(file);
fseek(file, 0, SEEK_SET);
fclose(file);
En C++ (STL je crois), je crois que c'est:
ifstream file("nomfichier", ios::binary);
file.seekg(0, io_base::end);
taille = file.tellg();
file.seekg(0, io_base::beg);
C++ (@++)