I encountered a compilation error twice: crosses initialization of…

In actual combat, met two crosses initialization of… Compilation errors, which are easy, are caused twice by:
1. There are defined variables in the switch case
2. Goto skips the definition of variables

Simple, the solution is simple, just a memo.


Read More: