CLion篇This file does not belong to any project… CLion篇 This file does not belong to any project…这是因为创建这个cpp文件没有正确创建,而且没有在Cmakelist.txt文件里注册。正确方法:点击项目右键,新建cpp文件即可。