Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
switch is a keyword to perform a kind of multiple if statements on a certain value. case determines which values can be switch on. If there is no named value to switch on, default can be used optionally.
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.