main cpp first defined here 解决

                main.cpp   first defined here 解决


作者Attilax ,  EMAIL:[email protected] 
来源:attilax的专栏
地址:http://blog.csdn.net/attilax


详细:/
//////////////
D:\qtworkspace\atiStar\main.cpp:29: error: first defined here


原因:
//////////
并非是main.cpp有错误,,而是上面的其他文件,特别是头文件也许有错误...重复定义错误..
特别是static 变量的定义初始化..


解决:
////////////
查看在的文件,修理重复定义错误..



           

再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow

猜你喜欢

转载自blog.csdn.net/jffyuhgv/article/details/86655571