Login
From:
L. Pereira
(Uncensored)
subscribe
String switch in C
https://tia.mat.br/posts/2012/08/09/string_switch_in_c.html
links
backlinks
C’s switch statement is very powerful. However, it can’t be used with strings, only with constant integral types. This is understandable, since strings in C are merely arrays – they’re not first-class citizens.
Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Roast topics
Find topics
Find it!