SomeClass* psc = new SomeClass();
SomeClass *psc = new SomeClass;
Given that the class SomeClass has a user-declared default constructor, what is the difference between the two statements above?
thanks in advance
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: abut constructor
|
Click Here to Expand Forum to Full Width |