vc6.0环境下代码调试出现的问题

来源:百度知道 编辑:UC知道 时间:2024/05/28 13:46:42
A.调试代码的工程文件,compile 则出现下面的情况

connot compile the file 'c:\documents and setting \.....';no compile tool is associated with the file extemsion.

B.build则通过,0error(s) 0warning(s)

C.execute program 则出现 cannot execute program

着是什么原因啊???

A,你选择的当前文件不是.c或者.cpp文件。
C,你所建立的项目不是exe或者mfc项目,可能是dll项目

估计是在可执行文件打开的情况下进行编译的,你把可执行文件关闭后,再编译链接