I am stuck on how to make a health bar for an enemy. This does the opposite of what I want it do. Instead of taking away '#' for damage it adds it. How can I do it the other way?
//For each health point, iterate once and output that particular health point
for(int healthPoint = 0; healthPoint < zombieAHealth; healthPoint++){
std::cout << "#";
}
It would be cool if you displayed underscores for the remaining missing health so you could have some idea of how much damage you've done!