int a,b;
while (cin>>a>>b, a)
{
some task;
}
I don't understand the while loop condition here. I understand that I am taking input of a
and b
. But what is with the , a
part?
int a,b;
while (cin>>a>>b, a)
{
some task;
}
I don't understand the while loop condition here. I understand that I am taking input of a
and b
. But what is with the , a
part?