Simple dynamic array question - Page 2
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21

Thread: Simple dynamic array question

  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,194

    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

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center