A
A
so in php you can write nicely:
switch (case)
{
case "a": break;
case "whatever": break;
case 0: break;
case 40: break;
}
in C++ all you can use is ordinal types like int and so on. so any ideas how
would one use strings as well? I use CBuilder 2009 so ideas may be also
biased toward that one if it has some specific class to do this.
switch (case)
{
case "a": break;
case "whatever": break;
case 0: break;
case 40: break;
}
in C++ all you can use is ordinal types like int and so on. so any ideas how
would one use strings as well? I use CBuilder 2009 so ideas may be also
biased toward that one if it has some specific class to do this.