6 ms·I think some compilers give a warning on while(foo = read()) but not on while((foo = read())).by brownleej 16y agoI think some compilers give a warning on while(foo = read()) but not on while((foo = read())).CamperBob 16y agoThat would be a broken compiler.tbrownaw 16y agoNo, I'm pretty sure that's intentional specifically to permit that idiom.__david__ 16y agoIt's usually a warning that you have to turn on explicitly, or one that you can at least turn off (thank heavens).