Thread: about malloc function

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    1

    Post about malloc function

    in my book it says that i should use malloc function to allocate memory for a dynamic array. but i experience that program works properly without malloc. where must i use malloc and why?
    thanks

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    >in my book it says that i should use malloc function to allocate >memory for a dynamic array. but i experience that program
    >works properly without malloc.

    What do you use instead of malloc?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM
  2. C++ compilation issues
    By Rupan in forum C++ Programming
    Replies: 1
    Last Post: 08-22-2005, 05:45 AM
  3. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  4. malloc & cover function
    By Max in forum C Programming
    Replies: 4
    Last Post: 10-04-2002, 08:51 AM
  5. qt help
    By Unregistered in forum Linux Programming
    Replies: 1
    Last Post: 04-20-2002, 09:51 AM