warning: implicit declaration of function ‘client_tcpinit’ [-Wimplicit-function-declaration]
warning: implicit declaration of function ‘client_tcpinit’ [-Wimplicit-function-declaration]报错
因为:相关的头文件没有声明这个函数,在相关头文件中声明即可,
方法不写在主函数前也会报错
warning: implicit declaration of function ‘client_tcpinit’ [-Wimplicit-function-declaration]报错
因为:相关的头文件没有声明这个函数,在相关头文件中声明即可,
方法不写在主函数前也会报错