Thread: Dynamic memory allocation problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User linuxlover's Avatar
    Join Date
    Nov 2010
    Location
    INDIA
    Posts
    52

    Unhappy Dynamic memory allocation problem

    I need to input a string using dynamic memory allocation and print it until heap is empty.













    What is the error

    Is heap memory area ,an area specified by OS or that by program
    Is there any way to dynamically increase size of heap region


    OS-----LINUX
    Code is given in the attached file
    Last edited by linuxlover; 11-24-2010 at 09:31 AM. Reason: file change

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Structs and dynamic memory allocation
    By PaulCocaine in forum C Programming
    Replies: 3
    Last Post: 11-22-2010, 10:14 AM
  2. Find Size Of Dynamic Memory Allocation?
    By appleGuy in forum C++ Programming
    Replies: 7
    Last Post: 06-17-2007, 09:34 AM
  3. Dynamic memory allocation
    By amdeffen in forum C++ Programming
    Replies: 21
    Last Post: 04-29-2004, 08:09 PM
  4. dynamic memory allocation
    By inquisitive in forum C++ Programming
    Replies: 5
    Last Post: 03-13-2004, 02:07 AM
  5. Dynamic Memory Allocation for fstream (binary)
    By kuphryn in forum C++ Programming
    Replies: 2
    Last Post: 12-12-2001, 10:52 AM

Tags for this Thread