There is such a record:
int manInfo=8; ... switch(cMan[manInfo][0]) { case 1||8||17||24:...break; case 14||26||37||42:...break; ...//ΠΈ Ρ.Π΄. }
This error occurs:
The operator "||" cannot be applied to int and int operands
Similarly with the case of string
and string
. Can operator ||
cannot be applied to case
at all? Then how in my case would be the right thing to do?