为了进行测试,你可以创建“Hello World”程序:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
printf("Hello world!/n");
exit(0);
}
编译:
# gcc -o hello hello.c
# ./hello
Hello wordl!
为了进行测试,你可以创建“Hello World”程序:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
printf("Hello world!/n");
exit(0);
}
编译:
# gcc -o hello hello.c
# ./hello
Hello wordl!