CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 21 of 21
  1. #16
    Join Date
    Mar 2009
    Posts
    7

    Re: Simple dynamic array question

    >The bold line can not possibly prevent the leakage.....

    Well, OK, but that seems like splitting hairs. The storage for m_leak will be a leak (somewhere else in freestore), but the array elements themselves (fp) will not be a leak. Which is what I meant.

  2. #17
    Join Date
    Jan 2006
    Location
    Singapore
    Posts
    6,027

    Re: Simple dynamic array question

    Quote Originally Posted by penguinFan
    Well, OK, but that seems like splitting hairs.
    Yes, but then you were also splitting hairs by refusing to read into what Lindley implied
    C + C++ Compiler: MinGW port of GCC
    Build + Version Control System: SCons + Bazaar

    Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
    Kindly rate my posts if you found them useful

  3. #18
    Join Date
    Mar 2009
    Posts
    7

    Re: Simple dynamic array question

    That's why I smiley'd it :-)

  4. #19
    Join Date
    Mar 2002
    Location
    NY, USA
    Posts
    12,097

    Re: Simple dynamic array question

    Quote Originally Posted by laserlight View Post
    Yes, but then you were also splitting hairs by refusing to read into what Lindley implied
    Splitting Hares is frowned upon...It can also get very messy.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009
    In theory, there is no difference between theory and paractice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first


  5. #20
    Join Date
    Mar 2009
    Posts
    7

    Re: Simple dynamic array question

    > Splitting Hares is frowned upon.

    I get feral rabbits in my back yard. The neighbourhood cats are doing their best to open up their abstraction boundaries.

  6. #21
    Join Date
    Mar 2002
    Location
    NY, USA
    Posts
    12,097

    Re: Simple dynamic array question

    Quote Originally Posted by penguinFan View Post
    > Splitting Hares is frowned upon.

    I get feral rabbits in my back yard. The neighbourhood cats are doing their best to open up their abstraction boundaries.
    Living in the heart of the city...not too many Rabbits...but lots of "Rat Bits"...
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009
    In theory, there is no difference between theory and paractice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first


+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts



HTML5 Development Center

Click Here to Expand Forum to Full Width