how do you read from a text file containing data in the following format:
someChars,integer,SomeCharsWithOtherCommas;someCha rs,integer,.... and so on.
I've tryed
but it seems to crash and i think it's from there.Code:fscanf(file, "%s,%d,%s;", &var1, &var2, &var3);
I have to read each record until the ";" at a time.
I suspect that's where it crashes, am I right?