if (checkForRoll == "intellect" && checkForRoll == "Intellect") {//checks for intellect
intellect = intellect + 5;
} else if (checkForRoll == "strength" && checkForRoll == "Strength") {
strength = strength + 5;
}
cout << intellect;
Cuando ejecuto esto, el intelecto int no agrega 5. ¿Por qué?¿Por qué mi variable "intelecto" no agrega por 5?
¿Qué es 'checkForRoll'? – AnT
Más detalladamente que AndreyT: ¿Cuál es el ** Tipo ** de checkForRoll. –