must be lvalue (non-constant)
#4

Case values must be known at compile time to prevent runtime errors. This is one of those cases (no pun intended) where you must resort to an old-fashioned if-if-if structure, however illogical that may seem.
Reply


Messages In This Thread
must be lvalue (non-constant) - by batonsa - 02.12.2013, 12:06
Re: must be lvalue (non-constant) - by Emmet_ - 02.12.2013, 12:08
Re: must be lvalue (non-constant) - by batonsa - 02.12.2013, 12:11
Re: must be lvalue (non-constant) - by Vince - 02.12.2013, 12:56
Re: must be lvalue (non-constant) - by batonsa - 02.12.2013, 13:05

Forum Jump:


Users browsing this thread: 2 Guest(s)