To select based on a string you have to use an if-statement or a map A switch-statement generates optimized code for comparing against a set of constants. For larger sets of constants, this typically yields more efficient code than a collection of if-statements.

picture loading error handler
90 thought(s)90

Cpp

my conspect of the Stroustrup C++ book. + additional C++ topics.
#CS
#programming
#Cpp
#C++
stroustrup
Get

Explore more quotes

Email:thur antony@gmail com128723 vrhoja.q6zme7b9
Tony Nemo
Email:thur antony@gmail com128613 1nv1p34.bltzk3mcxr
Tony Nemo
Email:thur antony@gmail com128613 1yek148.t5la7tlnmi
Tony Nemo
Email:thur antony@gmail com128613 s74cq2.bd866flxr
Tony Nemo