TataJen 发表于 2016-4-14 16:09

转行

mkdir hello
cd hello
vi hellowrold.c
i
#include<stdio.h>
int main(void)
{
printf("helloworld!\n");
return 0;
}
Esc
:wq


gcc helloworld.c -o helloworld
./hello;



touch Makefile
vi Makefile
i
all
(tab)gcc helloworld.c -o helloworld1
(Esc):wq

make
./helloworld1
页: [1]
查看完整版本: 转行