U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Switch with String type variables
Switch with String type variables [message #3175] Tue, 09 May 2006 23:36 Go to previous message
Justin is currently offline  Justin
Messages: 57
Registered: March 2006
Location: Orange County California
Member
If I want to use a switch statement with the 'String' type variable, I get this error message:


C:\MyApps\***\convert.cpp(33) : error C2450: switch expression of type 'String' is illegal
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called




Is there an equivalent in U++ for the Switch operator that can use a 'String' type value?


Justin
 
Read Message
Read Message
Previous Topic: about the behaviour of the Split() function
Next Topic: Header Issues[SOLVED]
Goto Forum:
  


Current Time: Tue Apr 28 12:46:03 GMT+2 2026

Total time taken to generate the page: 0.00814 seconds