Hi i am a beginner in c++ and i have trouble with comparing two of the biggest numbers out of four numbers. Im working on an assigment with a dice game where i need to tell the computer the following;
"if the biggest number out of dice_three and dice_four is the same number as the biggest of dice_two and dice_one, then loop1=true"
You don't need "MAXA" at all. Also, use more generic names for the macro arguments so you don't tie them to your code. Instead of dice_one, dice_two, why not use (A and B ) for example?
As a final tip to a fellow beginner, learn the standard library, for example std::max does this comparison safely.