add braces for each case label
Code:switch(...) { case 1: { //your code here break; } }
add braces for each case label
Code:switch(...) { case 1: { //your code here break; } }
OS: Windows 7, XUbuntu 11.10, Arch Linux
IDE: CodeBlocks
Compiler: GCC