C语言

准备工作

系统:Windows 10 专业版
编译器:MinGW编译器

第一个程序

#include <stdio.h>

void main() {
        printf("Hello World!");
}

保存为C文件

运行

到文件所在目录依次输入命令

gcc test.c -o test.exe
test.exe

天将降大任于是人也,必先苦其心志,劳其筋骨,饿其体肤,空乏其身,行拂乱其所为,所以动心忍性,曾益其所不能。
原文地址:https://www.cnblogs.com/chap-xw/p/13946301.html