i didn't get you..
Code:
void blah (char *groups,char *expressions,char *ouput)
{
FILE *IN1;
FILE *IN2;
FILE *OUT;
int size1,size2,size3,size4,i,j;
int *u,*a,*b,*c;
IN1=fopen(groups,"r");
IN2=fopen(expressions,"r");
OUT=fopen(output,"w");
fscanf(IN1,"%d",&size1); ///////////// i dont know here,.. i want to limit a size for each array which will contain 4 groups array u = universal, array a = a group , array b = group b,.. and c for array c.. (is it neccessary?)
u=(int*)malloc(sizeof(int)*size1); //
while (!feof(IN1))
{
fscanf(IN1,"%d",u[i]);
i++;
}
}
this is what i got so far,.. i dont know how todeal with 4 lined txt file..