当我编译我的C程序在开发C ++它正在编译。但当我Chlick编译+运行它显示源文件未编译。如何解决这个问题
问题描述:
请告诉我解决方案
答
这可能是日期戳问题。
查看文件,并检查输出源,任何中间文件和EXE本身的日期和时间戳信息。
很可能你有一个严重错误的时间戳,这意味着该文件未正确编译并生成exe。尝试删除中间文件和EXE本身并进行完全重建,或者(如果你的系统有)使用Clean选项,然后使用Full Rebuild。
It's probably a date stamp issue.
Have a look at the files, and check out the date and time stamp info for the source, any intermediate files, and the EXE itself.
Chance are that you have a timestamp that is wildly wrong, which means that the file doesn't get compiled correctly and the exe produced. Try deleting the intermediate files and the EXE itself and do a full rebuild, or (if your system has it) use the Clean option followed by a Full Rebuild.