dimanche 1 mai 2016

How does this C++ while loop work?

I learned the basics of C++ few months ago. Recently I found a while loop that looks like this. I want to understand how it works.

while(cin>>n>>m,n||m)
{
    does something;
}

Aucun commentaire:

Enregistrer un commentaire