当前位置: 代码迷 >> 综合 >> vc++ 编译时候出错
  详细解决方案

vc++ 编译时候出错

热度:31   发布时间:2024-01-21 23:35:24.0

编译时,报错如下:   
 

错误信息如下:


  cannot     compile   the   file   e:/temp/quantify_rail/StdAfx.h;no   compile    
  tool   is   associated   with   the   file   extension   

 

解决办法:

 

不要在打开.h   文件的时候编译,切换到.cpp文件后再编译就可以,因为.h   是不用编译的  

 

 


   

  相关解决方案