How use strings in switch statement? What is the correct syntax? I want to create a menu using the switch statement by the use of strings.
Asked
Active
Viewed 61 times
0
-
https://stackoverflow.com/questions/4480788/c-c-switch-case-with-string – sailfish009 Apr 11 '17 at 10:48
-
There is no correct syntax because you can't do that. Rethink your solution. – molbdnilo Apr 11 '17 at 10:50