int nYear, nMonth, nDay; fscanf(f, "%4d%2d%2d", &nYear, &nMonth, &nDay);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)