Back to course

The Switch Statement

C++ Masterclass: From Zero to Hero

An efficient way to compare a variable against many constant values.