Well, this code will not work:
for (float a = ap; a <= ag; a += az)
Never use floats or doubles as loop counters. Never.
The reason is that you cannot guarantee how many times that loop...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Paul McKenzie Search: Search took 2.88 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |