Hello, i am doing a project and I have a problem with the compilation. It says me that before the penultimate " } " there's an error. Culd you help me to find it?
Code:
#include <stdio.h>
#include <string.h>

void leer(FILE *Elementos)
{
     Elementos=fopen("elementos.txt", "r");
     int i=0, j=0; char todos_fich[i][2];
     do
     {
       for(j=0;j=1;j++)
       {
         fscanf(Elementos, "%s", todos_fich[i][j]);
       }
      i++;
     
     }
     fclose(elementos.txt);
}

Last edited by shabbir; 9Dec2007 at 12:03.. Reason: Code block