Code:string HealthBar(unsigned int health){ string output; for (unsigned int i = 0; i < health; ++i){ output += '|'; } return output; }![]()
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Thread: Coding Question not on GoogleThreaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |