Hey, I'm revising C++ for a new job I'm trying to get. I'm having some trouble with some very basic stuff:
Code:
if((aRegularInt > -2147483647) && (aRegularInt < 2147483646){
       cout << "You have entered " << aRegularInt;
}
else{
       cout << "That is not a valid Integer!";
}
If I enter a value outside of those ranges it completely ignores the if statement and prints "You have entered 0". In other words it never reaches the else statement no matter what values I input!