Deeperblue Posted January 3, 2003 Posted January 3, 2003 Voila, je m'explique, je dois lire 1 fichier contenant des entiers séparés par des tabulations (tableau word copier-coller dans un txt), et rentrer ces nombres dans un tableau.... je sais pas quel mode untiliser avec fopen (binaire ou texte), et quelle fonction de lecture utiliser... Merci de votre aide... Quote
Darsh Posted January 11, 2003 Posted January 11, 2003 moi je dirais en binaire !! je regarderai à ca de la semaine et essayerai de t'aider !! je connais plus la syntaxe par coeur !! fopen (*FILE,mode ouverure) jpense ke c dans le genre ! a + Quote
walou Posted April 15, 2003 Posted April 15, 2003 slt moi je dirais FILE * fp = fopen("c:ici.xxx","r"); int a,b,c,d; fscanf(fp,"%dt%dt%dt%d",&a,&b,&c,&d); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.