float fX, fY, fZ = 0;
This line declares the varibles fX and fY, but it on initizlizes fZ.
You need to seperate the variables out.
float fX = 0;
float fY = 0;
float fZ = 0;
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: unsigned local variableThreaded View
|
Click Here to Expand Forum to Full Width |