Hi. I wrote some code like this:
and plik.in looks like that:Code:FILE * plik;
plik = fopen("plik.in", "r");
fscanf(plik, "(%d,%d),(%d,%d),(%d,%d),(%d,%d)", &ax,&ay,&bx,&by,&cx,&cy,&dx,&dy);
fclose(plik);
(0,0),(2,0),(3,3),(0,2)
On the Linux platform everything is ok, but the same on windows doesn't work. Have anyone any idea why?