if (choice ==1){
Light *myobj = new Light();
}
FlipUpCommand switchUp(*myobj);
Error: `myobj' undeclared (first use this function)
Please advice how to solve this problem without changing the Light class.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 10 of 10
Thread: How to create global objectThreaded View
|
Click Here to Expand Forum to Full Width |
Bookmarks