Thread: #include<alloc.h> ??

  1. #1
    Unregistered
    Guest

    Question #include<alloc.h> ??

    What's #include<alloc.h> for?

    How come when i run that, the compiler say "fatal error C1083: Cannot open include file: 'alloc.h': No such file or directory".

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Well, probably because your compiler doesn't have it, or your include path is screwed.

    There is no need to include <alloc.h>, just use <stdlib.h>.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed