Minesweeper game/D: Difference between revisions

m
Line 440:
curLine = readln();
 
//Uniform function call syntax.
//Non-member functions can be called with the first argument using dot notation.
//"curLine.formattedRead(" is the same as "formattedRead(curLine, ".
len1 = curLine.formattedRead("%s %s", &height, &width);
} while (len1 == 0 || height < 2 || width < 2);