As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center提供指导。




9年前关闭。




我发现它可以在Microsoft Visual C++ 2010中编译。
void main()
{
    int i=9;
    while (i>4)
    {
        i--;
    }
    while (i>6);
}

可能没有..第二次似乎没有效果

最佳答案

没有什么不寻常的。这是两个while语句,除了另一个语句具有空主体。更大的问题是void main

关于c++ - 一会儿,C++的新功能? ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/7667925/

10-11 21:57
查看更多