发文章
发文工具
撰写
网文摘手
文档
视频
思维导图
随笔
相册
原创同步助手
其他工具
图片转文字
文件清理
AI助手
留言交流
在“工具”-》编译选项-》"Add following commands when calling complier"下面的编辑框里加上: -g3 然后在下面的"Add these commands to the linker command line" 下的编辑框上加上: -g3 转到programs页,把gcc行修改为:gcc.exe -D__DEBUG__,
把g++行修改为: g++.exe -D__DEBUG__ ,
点击ok。 重新编译,就能调试了
来自: 豆芽爱尚阅 > 《c&C 》
0条评论
发表
请遵守用户 评论公约
Dev cpp不能调试问题的解决方法
Dev cpp不能调试问题的解决方法Dev cpp不能调试问题的解决方法。1. 在tools->compiler option->compiler得"Add following co...
Tutorial boost::program_options
// Declare the supported options.po::options_description desc("Allowed options");desc.add_options() ("help", "produce help message") ("optimization"...
嵌入式之行(5):我的Makefile
嵌入式之行(5):我的Makefile.1、文中多处出现Makefile,它可以认为是一个具体的文件——即文件名就是“Makefile”,也可以认为它是抽象的“Makefile”,比如下文说到的“两个Makefile”,它们的名称肯...
add yaffs fs to kernel
add yaffs fs to kernel.c>modify devs.c to add a new partition in mtd (optional) , the yaffs will be in the"yaffs" partition like: { name: "user", ...
ceph详细安装部署教程(多监控节点)
[root@admin-node ceph]# ceph-deploy new node1 node2 node3 (执行这条命令后node1 node2 node3都作为了monitor节点,多个mon节点可以实现互备)[node1][INFO ] Running command: ceph --cluste...
eclipse添加c/c++的lib(lpthread)
eclipse添加c/c++的lib(lpthread)eclipse添加c/c++的lib(lpthread)
VS2010用IE单步调试ocx
Windows8上下文菜单
//Context Menu <Image x:Name="AttachmentImage"HorizontalAlignment="Left" Stretch="None" Source="Assets/attachment.png"R...
dev-c 内置的gcc如何手动升级? - LinuxSir.Org
- LinuxSir.dev-c 内置的gcc如何手动升级?- LinuxSir.OrgDev-Cpp实际上使用的是MinGW GCC。gcc 4.1.1的C编译器在win下基本可用,但是C++编译器因为牵扯到一些DLL,Exceptional Handling的问题很难解决...
微信扫码,在手机上查看选中内容