系统:Windows 10 专业版 编译器:MinGW编译器
#include <stdio.h> void main() { printf("Hello World!"); }
保存为C文件
到文件所在目录依次输入命令
gcc test.c -o test.exe test.exe
C语言 - 第一个程序
原文:https://www.cnblogs.com/chap-xw/p/13946301.html