不会。我的程序
#include<iostream>
using namespace std;
int main()
{
int x,y;
while(x&&y)
{
x+y=10;
x-y=2;
}
printf("%d,%d",x,y);
return 0;
}
错误信息:--------------Configuration: dddddd - Win32 Debug--------------------
Compiling...
c.cpp
E:\MyProjects\dddddd\c.cpp(8) : error C2106: '=' : left operand must be l-value
E:\MyProjects\dddddd\c.cpp(9) : error C2106: '=' : left operand must be l-value
执行 cl.exe 时出错.