Are you even trying to understand what is going on in this thread cgsarebeast?
Frst of all - if you cant understand chaos engine's post, then no website will help you.
Second of all - we dont know what you dont understand ... you just keep saying that you dont.
So im wondering whether the idea of using these operators is too high for you, or if it is something else that is slowing you down (i.e the if statements .. or anything else in the code). A question for you: have you compiled a working program yet (i.e. one that shows up a small black box, even though it might disappear)
Code:
int main()
{
int age = 20; //INTEGER AGE is equal to the number 20
if (age < 10)
//If the age is less than 10 (which it isn't because it is 20), execute the code inside of the BRACKETS, in other words display (std::cout << ) "you are young".
{ //BRACKET
std::cout << "you are young"; // this means print "you are young" on the screen
}//BRACKET
else if (age >= 10 && age < 20)
//If the age is less than 10 (else) and if the age is greater than or equal to 10 (age>=10)
//AND (&&) at the same time less than 20 (age<20) then execute code inside of the BRACKETS. In other words, display (std::cout << ) "you are an adolescent".
{//BRACKET
std::cout << "you are an adolescent";
}//BRACKET
}
If you STILL dont understand this, it is clearly too complicated of a subject and you should do something a little simpler (like a Hello World program)