Well, I'm having some problems:
code extract:
the compiler problems are allCode:switch(race) { case 'O': { stats.fp=40; stats.dp=35; stats.speed=3; break; } case 'E': { stats.fp=30; stats.dp=30; stats.speed=30; break; } case 'H': { stats.fp=35; stats.dp=25; stats.speed=30; break; }
parse error before '.' token
on the lines after the { in each switch case
Here is my structureCode:struct stats { int fp; int dp; int speed; };