The following code:
keeps giving me the vague error of: For loop declared outside of C99 mode. What am I doing wrong?Code:void quest_one() { char* guess; for (int a = 0; a<25; a++) { printf("\n"); } printf(QOne->Desc); guess = getchar(); char* answer; answer = "void"; if(guess != answer) { printf("\nIncorrect, you lose!"); } else if(guess == answer) { printf("congrats, you roxors!"); } }
EDIT: Perhaps somebody could also explain what C99 mode is? I've never heard of that before