GCC for windows HelloWorld
2018-03-26 15:21
344 查看
1.下载
https://sourceforge.net/projects/mingw/files/latest/download?source=files 或者搜索 gcc for windows
2.安装配置
Basicsetup -> gcc G++选项就可以
3环境变量
C:\MinGW\bin加入到系统变量Path就可以记得分号,我的电脑属性,高级系统设置,环境变量,系统变量Path
4编译和运行
编译 -> gcc Hello.c
生成 -> a.exe
https://sourceforge.net/projects/mingw/files/latest/download?source=files 或者搜索 gcc for windows
2.安装配置
Basicsetup -> gcc G++选项就可以
3环境变量
C:\MinGW\bin加入到系统变量Path就可以记得分号,我的电脑属性,高级系统设置,环境变量,系统变量Path
4编译和运行
#include <stdio.h> #include <windows.h> void main(){ printf("HelloWorld\n"); system("pause"); }
编译 -> gcc Hello.c
生成 -> a.exe
相关文章推荐
- Hello World for Windows
- 【PAT】1031. Hello World for U
- gcc for Windows 开发环境介绍
- 【转】gcc for Windows 开发环境介绍
- HelloWorld for Android
- 【教程连载】ArcGIS for iOS 开发系列(3) – 基础篇-“Hello World Map”
- 1031. Hello World for U (20)
- 1031. Hello World for U (20)
- Hello World for CshBBrain
- 1031. Hello World for U
- 1464 Hello World for U 九度Online Judge
- Hello World for U (20)
- windows 程序设计自学:窗口正中显示Hello,World
- HelloWorldForU ---九度Online Judge
- "Hello World!" for the NetBeans IDE
- 九度OJ-1464:Hello World for U
- Cannot start compilation: the output path is not specified for module "HelloWorld". Specify the outp
- PAT 1031 Hello World for U
- 1031. Hello World for U
- [VC C++ wxWidget GUI] wxHelloWorld for console出世~