The variable "triangle" is local to your doBreak function. You need to have declare it in main and increment it depending on what doBreak returns.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 12 of 12
Thread: Glass Rod ProblemThreaded View
|
Click Here to Expand Forum to Full Width |