c - warning: implicit declaration of function ‘printf’

后端 未结 3 917
走了就别回头了
走了就别回头了 2020-12-29 17:39

I know alot of similar questions were asked before but i couldn\'t find something that would fix this warning i get:

MyIntFunctions.c:19:2: warning: implicit         


        
3条回答
  •  攒了一身酷
    2020-12-29 18:20

    You need to include the appropriate header

    #include 
    

    If you're not sure which header a standard function is defined in, the function's man page will state this.

提交回复
热议问题