【发布时间】:2017-03-06 12:43:49
【问题描述】:
为什么这段代码没有打印出来很棒
#include <iostream>
using namespace std;
int main() {
while (1, 0) {
cout << "awesome\n";
}
return 0;
}
但是这段代码打印了很棒的 Infinite times
#include <iostream>
using namespace std;
int main() {
while (0, 1) {
cout << "awesome\n";
}
return 0;
}
我正在使用 g++ 编译器
【问题讨论】: