i have this for loop in my program that i am creating but it is counting further than it is supposed to and trying to call to an unknown variable thus creating an error. here is the code that kicks back the error.
for (i = 1; i <= me.spellcasterlevel; i++){
if (me.firelevel >= i){
//cout << i << ": " << me.fire[i].name << endl;
}
}
cin >> choice;