Re: how to organize my main file ?



In article <66ed9e1f-214a-4706-8321-e2d6e4d47666@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
pereges <Broli00@xxxxxxxxx> wrote:

I have another question: Is it ok to write a function to destroy all
the objects(Its not just a simple 'free' call btw, there are lists
within objects which must be destroyed first)

Sure, why not? As long as the objects are dynamically allocated, that is.
--
"MAMA: Oh--So now it's life. Money is life. Once upon a time freedom
used to be life--now it's money. I guess the world really do change.
WALTER: No--it was always money, Mama. We just didn't know about it."
-- Lorraine Hansberry
.



Relevant Pages

  • Re: how to organize my main file ?
    ... Is it ok to write a function to destroy all ... the objects(Its not just a simple 'free' call btw, there are lists ... within objects which must be destroyed first) ...
    (comp.lang.c)
  • Re: Linux 2.6.9-rc2 (compile stats)
    ... janitors like myself just got a whole bunch of work thrown our way... ... Btw, please don't trim CC lists on linux-kernel. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: Complaints about using this list...
    ... Filter on The Message HEader or Subject. ... Actually there is a better way to filter for lists, ... that don't have the list email address in the "sender" field, ... BTW: I never would have replied to this if I had seen it in the digest. ...
    (Fedora)
  • Re: FrontPage extensions on an Apache server
    ... > BTW, see this article about Top Ten Lists. ... > the usage reports and top ten list on anything other than IIS. ... Apache Server on RedHat Linux ...
    (microsoft.public.frontpage.client)
  • Re: [OT] Re: help with debian
    ... Reply-to-list for lists or simple reply for normal mail. ... Also btw, I read the list via a mail to news gateway which is why I'm ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)