Thursday, July 30, 2009

[Cpp-Programming] Re: doubt in c++

On Thu, Jul 30, 2009 at 12:40 PM, Niketa Pal <pal.niketa@gmail.com> wrote:
But I found this site which confused me too:
http://www.codeguru.com/forum/archive/index.php/t-250505.html

Now my question to group is: Is it true dynamic creation is not supported directly by the C++ language."

From the MSDN:

dynamic creation:

The process of creating an object of a specific class at run time. Do not confuse this dynamic creation of an object with the creation of a dynamic object, using the C++ new operator. Dynamic creation is not supported directly by the C++ language. Objects derived from the MFC class CObject can have this functionality.


To be honest, I have no idea what they're talking about.  From what I can gather, the features of CObject in question are Microsoft's homegrown version of RTTI (which they implemented before RTTI was a part of C++).  The MSDN page mentioned in that thread is probably out of date.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "C++ Programming" group.
To post to this group, send email to Cpp-Programming@googlegroups.com
To unsubscribe from this group, send email to Cpp-Programming+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Cpp-Programming?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

<< Home