-1
好吧,所以我想了解int i(row)和j(col)在這組代碼中的含義,它是否將我設置爲行中的值?我(排)和j(排)是什麼意思?
for(int i(row); i < row + height; ++i)
{
// Cycle through cols
for(int j(col); j < col + width; ++j)
{
// Change the value at position (i, j) to the fillChar
board[i][j] = fillChar;
}
}
是的,認爲它是調用int的「構造函數」。 –
@brian所以我=行? – poppy
是的,確切地說。 'int'也有一個默認的構造函數:'int i {}; //我是0'。 –