希望能帮忙翻译下!

来源:百度知道 编辑:UC知道 时间:2024/05/22 07:18:31
Our outer while loop executes until the user says she wishes to stop:

bool next_seq = true;
while ( next_seq == true )
{
// ...
if ( try_again == 'N' || try_again == 'n' )
next_seq = false;
}
Were next_seq initialized to false, the statement block would not be
executed. The nested while loop allowing our user multiple guesses
behaves similarly.

我们外面当圈执行直到用户认为她希望停止:

bool next_seq = 配齐;
当(next_seq == 真实)
{
//...
如果(try_again == 'N' || try_again == 'n' )
next_seq = 假;
}
是next_seq 初始化对假, 声明块不会是
执行。被筑巢当圈允许我们的用户倍数猜测
相似地表现。