中间的条件判断语句,你写的是赋值语句呢,需要有2个等号
int main() { int i = 0: int k = 0: for (i =0, k=0; k==0; i++, k++) k++; return 0: }