i have file like this :
width 95 - 78,90,91
i need to read the numbers 95 and 91
how can i scan this nubmer into two integer ?
my code so far :
now i got only the widthCode:while ((ch = fgetc(f1)) != EOF) { while (((ch = fgetc(f1)) != 'h') && (ch != EOF)) {} fscanf_s(f1, "%d\n", &j); }