How to implement switch statement using string?
November 12, 2009 - 2:14 am
I want to implement a switch statement for a string, which varies from time to time (depending on the input) given at runtime. how can i use it using stls?
Give more description avout which language u r using and what actually u want to achive.
November 12th, 2009 at 7:27 am
If you are using java, you can use enum like this:-
http://www.java2s.com/Code/Java/Language-Basics/JavaenumCreatinganEnum.htm
References :
November 12th, 2009 at 7:53 am
Give more description avout which language u r using and what actually u want to achive.
References :