CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: C++

  1. #1
    Join Date
    Feb 1999
    Posts
    2

    C++

    Is it necessary to check for memory allocation after everytime we do 'new' ?



  2. #2
    Guest

    Re: C++

    It is necessary, but the better approach is put the 'new' in "try" block so that you will immediately come to know that ur new is allocating memory or not.

    Happy programming.



Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured