|
|
essais:
// mostly C code.
#include <stdio.h>
int main)()
{
// google: "fopen() pour + d'info sur le 2e param)
.,.FILE *fichier = fopen("le_fichier.txt","r");
.,.fseek(fichier, 0, SEEK_END);
.,.long taille = ftell(fichier);
.,.fseek(fichier, 0, SEEK_SET);
.,.fclose(fichier);
.,.return 0;
}
a++
-------
vive Linux!
|