Re: Fwd: memory



On Tue, 9 May 2006 21:12:14 +0200, I waved a wand and this message
magically appeared from Mickael Drean:

> No, i used new() and delete(). I never used manage but i will try to
> use it. Can i use it with my own class object?

there's only new and delete. There are no functions called new() and
delete()!

Yes you can. For example:

Dialog *dialog = new Dialog();
..
..
..

dialog.run();

..
..

delete dialog;

It's that easy.

-- 
http://www.munted.org.uk

Take a nap, it saves lives.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]