Windows系统中Eclipse C/C++环境搭建
来源:互联网 发布:手机淘宝如何删除差评 编辑:程序博客网 时间:2024/06/09 02:15
2,安装MinGw,说白了就是Windows平台下的C编译器
MinGW,是Minimalist GNUfor Windows的缩写。它是一个可自由使用和自由发布的Windows特定头文件和使用GNU工具集导入库的集合,
允许你在GNU/Linux和Windows平台生成本地的Windows程序而不需要第三方C运行时(C Runtime)库
下载连接:http://www.mingw.org/
安装,默认即可,配置时安装一些比如的组件即可
最后配置环境变量path加入MinGw安装路径/bin即可
配置完命令行检查:
C:\Users\Administrator>mingw32-make.exe -version
GNU Make 3.82.90
Built for i686-pc-mingw32
Copyright (C) 1988-2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
3:安装eclipse,是一个平台,但是我安装的时候选择的是基于c/c++开发环境的选项,跟vc差不错
下载连接:http://www.eclipse.org/cdt/downloads.php
创建的时需要选择MinGW GCC
一些常识:
1. 设置断点:双击相应程序行的左边栏
2. 进入调试状态:点击Run->Debug或按快捷键F11,或工具栏上的虫子图标
3. eclipse进入调试模式自动停在main函数的第一行,这一点区别于vs, vs必须手动设置断点。
4. F6 单步调试
F5 进入函数
F7 跳出函数
F8 继续执行到下一个断点处
Ctrl+R运行到光标处
- Windows系统中Eclipse C/C++环境搭建
- Windows系统中Eclipse C/C++环境架设
- Eclipse C\C++环境搭建(Windows)
- windows eclipse C/C++开发环境搭建
- eclipse c 环境搭建
- 在Eclipse中搭建C/C++环境
- 在Eclipse中搭建C/C++环境
- Windows下用Eclipse搭建C/C++开发环境
- Windows下用Eclipse搭建C/C++开发环境
- (windows下)用Eclipse搭建C/C++开发环境
- Windows下用Eclipse搭建C/C++开发环境
- Windows下用Eclipse搭建C/C++开发环境
- Windows下用Eclipse搭建C/C++开发环境
- Windows下用Eclipse搭建C/C++开发环境
- Windows下用Eclipse搭建C/C++开发环境
- (windows下)用Eclipse搭建C/C++开发环境
- Windows下用Eclipse搭建C/C++开发环境
- Windows下用Eclipse搭建C/C++开发环境
- React-Native调试状态下App运行缓慢问题解决方案
- Java Socket编程
- [leetcode]70. Climbing Stairs
- 编译udhcpc for ARM_linux
- SQLite详解
- Windows系统中Eclipse C/C++环境搭建
- my代码跟踪之driver_register
- OC 第一个OC类
- cookies的用法
- 强大的Spring缓存技术(下)
- 打造平台
- No %s entity with id %s exists! Spring JPA 删除(delete) 报错
- bootstrap/angularjs 日期控件
- How-To set up a serial console on Debian