pow(10,2)的意思是求10的2次方
Visual Studio 2008调试程序时老是提示"生成“cmd.exe”时出错".
------ 已启动生成:
配置: Debug Win32
------ 正在编译资源清单...
正在链接...
正在嵌入清单...
项目 : error PRJ0003 : 生成“cmd.exe”时出错。
1 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过
此类问题的解决方法如下:
工具(tools) ->选项 Options -> 项目解决方案Projects and Solutions - >VC++目录 VC++ Directories page ,然后添加一下三个即可。
$(SystemRoot)/System32;
$(SystemRoot) ;
$(SystemRoot)/System32/wbem