标签:int 编译 nbsp exit bsp std -o gcc stdio.h
hello.c 代码
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf ("hello,my world!");
exit(0);
}
编译,运行
$gcc -o hello hello.c
$./hello
hello,my world!
$
标签:int 编译 nbsp exit bsp std -o gcc stdio.h
原文地址:http://www.cnblogs.com/yangxuming/p/7189798.html