Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: laserlight

Search: Search took 0.27 seconds.

  1. Re: Memory Management : character arrays and = operator

    Actually, no: that is a constructor, so if new[] fails, the constructor fails. There will be no string contents to speak of.

    There does appear to be a potential buffer overflow problem with the...
  2. Re: Memory Management : character arrays and = operator

    Your class performs manual memory management, but you neglected to define the destructor. You also forgot to define or disable the copy constructor, although you did define copy assignment operator.
Results 1 to 2 of 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


On-Demand Webinars (sponsored)