-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'。 –