cannot jump from switch statement to this case label c++
The C++ language does not allow jumping from one case
label to another within a switch
statement. The language specifies that once a case
label is matched, the code within that case
block will execute, and then the switch
statement will exit or move to the default
case if present, or it will exit the switch
block entirely.
Attempting to jump from one case
label to another within a switch
statement violates the language rules and is not supported. The switch
statement is designed to execute code based on the value of an expression, selecting the appropriate case
label and performing actions associated with it. However, it doesn't allow for arbitrary movement or jumping between different case
labels.