|
From: Zachary U. <ne...@st...> - 2003-01-18 11:22:23
|
Hi, In your example I think the name you give to new must be different than class name. such as: class MyClass; MyClass* Ptr = new MyClass1; Zach At 04:16 AM 1/18/03, you wrote: >umm are we talking about the dynamic memory allocation using pointers and >the new / delete operators? > >class MyClass; // forward declaration > >MyClass* Ptr = new MyClass; // Ptr points to an object of type MyClass, >created dynamically. Zachary Uram John 3:16 <>< |