功能itoa的隐式声明是无效的C99 [英] implicit declaration of function itoa is invalid in c99

查看:4545
本文介绍了功能itoa的隐式声明是无效的C99的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用功能 itoa(),我得到警告:

When I try use the function itoa(), I get the warning:

函数隐式声明是无效的C99

implicit declaration of function is invalid in c99.

我已经包含在我的头文件stdlib.h。我试图调用一个函数在这个函数中,我不知道这是允许的。

I have included stdlib.h on my header. I'm trying to call this function inside a function, I'm not sure if this is allowed.

推荐答案

的问题是,itoa()不是一个标准功能。

The problem is that itoa() isn't a standard function.

您应该看一看此链接它给你一些替代实施

You should take a look at this link which gives you some alternative implementations

这篇关于功能itoa的隐式声明是无效的C99的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆