First, if you're asking about a syntax error, always show us the exact error message, and clearly indicate which line it refers to.
The problem is that the syntax for a statement with a case label is:
case
constant-expression :
statement
You have:
case 0:
char cartas[7];
cartas[0] = jog2_carta1[0];
// ...
char cartas[7];
is a declaration, not a statement.
You can solve this by enclosing the body of each case
with curly braces, making the entire block of code (including the leading declarations) a single statement:
case 0:
{
char cartas[7];
cartas[0] = jog2_carta1[0];
// ...
break;
}