我是靠谱客的博主 仁爱摩托,这篇文章主要介绍linux c之解决array subscript is not integer和AF_NET not undeclared,现在分享给大家,希望可以做个参考。
1、array subscript is not integer
我一开始写的代码是这样的写的
buf[strlen[buf] - 1] = '
我一开始写的代码是这样的写的
buf[strlen[buf] - 1] = '