Just instead of :
if ( ch == 'A' || ch == 'B' || ch == 'C' || .....
for example, to do it like :
if ( ch == 'A', 'B', 'C', ...
is there even a shorter way to summarize conditions ?
Aucun commentaire:
Enregistrer un commentaire