Welcome 微信登录
编程资源 图片资源库 蚂蚁家优选 PDF转换器

首页 / 操作系统 / Linux / Linux下编译运行C命令

#include<stdio.h>
int main() {
    int i;
scanf("%d",&i);
    printf("%d ",i);}一个名为hello.c的文件打开终端:ctrl+alt+t输入cd 所在文件夹gcc -ohello hello.c回车./hello 回车到这里就结束了。