How do I do this:
i get a [C++ Error] Unit1.cpp(25): E2383 Switch selection expression must be of integral type error. any help would be nice!Code:string test; test = "hey"; switch(test) { case "bye": do somthing(); case "hey": do somthing(); }
thx
DW