implicit declaration of function itoa is invalid in c99

后端 未结 2 1442
温柔的废话
温柔的废话 2020-12-16 14:41

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

implicit declaration of function is invalid in c99.

I have

2条回答
  •  一整个雨季
    2020-12-16 15:25

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

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

提交回复
热议问题