If I have a class ABC for example. What's the different between these calls?
ABC var1;Code:class ABC{ ABC(){ } }
ABC var2();
ABC var3 = new ABC();
I know var3 gets a pointer to the class ABC in heap. What about var1 and var2?
Thanks.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Threaded View
|
Click Here to Expand Forum to Full Width |