Thread: Increasing working memory in win XP

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Feb 2006
    Location
    Great India
    Posts
    24
    Yes it's obvious that the code will break if it will not get sufficient memory for malloc().

    What you can do here is add a statement like this ?

    Code:
    if(geneas[k]==NULL)
           
         printf("\n Not sufficient memory");
    Now you will now where the HELL is happening ?


    REALNAPSTER
    Last edited by realnapster; 04-24-2006 at 03:52 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. To find the memory leaks without using any tools
    By asadullah in forum C Programming
    Replies: 2
    Last Post: 05-12-2008, 07:54 AM
  2. Lemmings on Win XP
    By swgh in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 05-07-2008, 06:11 AM
  3. Memory usage and memory leaks
    By vsanandan in forum C Programming
    Replies: 1
    Last Post: 05-03-2008, 05:45 AM
  4. Assignment Operator, Memory and Scope
    By SevenThunders in forum C++ Programming
    Replies: 47
    Last Post: 03-31-2008, 06:22 AM
  5. Working with the Registry Win 2000
    By ReggerX in forum Windows Programming
    Replies: 18
    Last Post: 08-19-2002, 06:53 AM