In an OR evaluation does C++ continue evaluating past the first TRUE it finds?
ie.
if(Foo() || Bar()) { //.. }
If Foo() returns true will Bar() be skipped completely or will it also run that function?
Aucun commentaire:
Enregistrer un commentaire