Re: Life bar (WIP)
Posted: Thu Nov 13, 2008 8:52 pm
Yeah, in this case it doesn't make a bit of difference, I just generally tend to put any sort of variable check after the first update.MarauderIIC wrote:would work fine, use it (easier to read)Code: Select all
while (life > 0) { ... }
PLEASE replace this with cin.get();. If you really need a detailed explanation why:system ("pause");
http://www.google.com/search?q=system("pause")