static declaration of "****" follows non-static declaration


编译报错 static declaration of "****" follows non-static declaration 
原因分析:调用的静态函数在调用之后声明的。
解决方法:把静态函数声明放在调用前面。

猜你喜欢

转载自blog.csdn.net/JWheat/article/details/82152692
今日推荐