VC++6.0显示cannot compile the file***:no compile tool is associated with the file extension.

当我们使用VC++6.0编译项目时,编译失败,对话框提示:
cannot compile the file***:no compile tool is associated with the file extension.
【VC++6.0显示cannot compile the file***:no compile tool is associated with the file extension.】VC++6.0显示cannot compile the file***:no compile tool is associated with the file extension.
文章图片

解决:
关闭当前文档,或者打开一个新的CPP文件即可,注意:有时候重新打开一个点h文件也不行,最好是CPP文件。

    推荐阅读