Menu

help with alloc.h

2006-06-23
2012-09-26
  • Nobody/Anonymous

    i m new to c and to dev c++. now when i use the header alloc.h for c programming it says no such file or directory. now do i need to install some other library for this header please help

     
    • Wayne Keen

      Wayne Keen - 2006-06-23

      Please post your Basic 3. See the thread titled "Please Read Before Posting a Question" if you do not know what they are.

      Wayne

       
    • Anonymous

      Anonymous - 2006-06-23

      A better approach to this problem is to ask why you want to use <alloc.h>?

      It is a non-standard header file. The standard memory allocation functions (malloc, calloc, realloc, and free) are declared in <stdlib.h>. If you are using functions specifically provided in an implementation of <alloc.h>, then you need to seek platform specific alternatives for what you are attempting to do. If you need help with that we will need to know what that is.

      Clifford

       
      • Anonymous

        Anonymous - 2006-06-23

        ... which kind of begs teh question that if you are new to C, where did you 'learn' to use alloc.h?

        Clifford

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.