And this doesn't do what you expect:
headcount += (headcount + 1)
Headcount = 2
headcount += (headcount + 1)
2 ________ + ( 2+1)
= 5 instead of 3
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: dglienna Search: Search took 0.13 seconds.
Results 1 to 3 of 3
|
Click Here to Expand Forum to Full Width |