error message i've never seen before

This is a discussion on error message i've never seen before within the C Programming forums, part of the General Programming Boards category; - incompatible implicit declaration of built-in function 'malloc' any thoughts on general things that may be causing this? i've been ...

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    16

    error message i've never seen before

    - incompatible implicit declaration of built-in function 'malloc'

    any thoughts on general things that may be causing this? i've been staring at it for a while and that doesn't seem to be working...

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    You're using malloc and forgot to include <stdlib.h>?

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    16
    thank you!!

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21