写一个test1.c
#include<stdio.h>
int main(){
printf("hello world");
}
~
[yong@zoo1 language]$ gcc test1.c -o test1
[yong@zoo1 language]$ ls
test1 test1.c
[yong@zoo1 language]$ ./test1
hello world
[zhaohongyong@zoo1 language]$
写一个test1.c
#include<stdio.h>
int main(){
printf("hello world");
}
~
[yong@zoo1 language]$ gcc test1.c -o test1
[yong@zoo1 language]$ ls
test1 test1.c
[yong@zoo1 language]$ ./test1
hello world
[zhaohongyong@zoo1 language]$