![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编译调试
shanql
这个作者很懒,什么都没留下…
展开
-
Windows下使用vim编写代码,使用nmake编译代码,使用vs来调试代码
1、编写代码2、编写Makefile,如果要调试, 2.1、需要在编译的时候加上/Zi ( Generates complete debugging information),编译由cl.exe来完成 2.2、需要在链接选项中指定/DEBUG,(The /DEBUG option creates debugging information for the .exe file or DLL原创 2017-04-05 22:22:24 · 683 阅读 · 0 评论 -
c/c++生成预编译文件
Preprocesses C and C++ source files and writes the preprocessed output to a file. /PRemarksThe file has the same base name as the source file and an .i extension. In the process, all原创 2017-04-05 22:22:16 · 697 阅读 · 0 评论 -
解决“应用程序无法启动,应用程序的并行配置不正确”
问题描述:用vs2005写了一小段程序 ,拷至另外一台机器上,运行出错,如下图 解决过程:1、编译了一个release版本的,拷至那台机器上,运行成功,这就奇怪了,(后来才知,release版msvcp80.dll及msvcr80.dll在此系统上是存在的同,使用Process Explorer工具查看,发现是有msvcp80.dll及msvcr80.dll,如下图)原创 2017-04-05 22:21:20 · 1060 阅读 · 0 评论 -
调试临时日志输出
一、非控制台程序也可使用控制台输出1、AllocConsole为当前进程分配一个控制台2、在程序中调用printf, cout等函数即可3、FreeConsole不使用时调用释放控制台 如下: int WINAPI _tWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, i原创 2015-10-24 13:12:37 · 819 阅读 · 0 评论