dont use malloc with objects. It does not call the constructor. use new and delete.
- Type casting with malloc() holotko
- Re: Type casting with malloc() James
- Re: Type casting with malloc() Amol Mohite
- Re: Type casting with malloc() Glynn Clements
dont use malloc with objects. It does not call the constructor. use new and delete.