string color1 = ColorTToString(player.favoriteColor); string color2 = ColorTToString(balloon.color); if (color1 == color2) { ... }
cout << "You found a " << ColorTToString(balloon.color) << " balloon in " << balloon.location << " worth " << balloon.value << " points." << endl;
cout << "You found a " << ColorTToString(balloon.color) << " balloon in " << balloon.location << " worth " << balloon.value << " points." << endl;
void PrintBallloon(BalloonT balloon) { ColorT tmpColor; string tmpLocation; int tmpPonts; tmpPoints = balloon.points; tmpColor = balloon.color; tmpLocation = balloon.location; cout << tmpPoints << " " ... }
cout << balloon.points << " " << balloon.location ...