1.编译生成的可执行程序,例如:gcc-Whello.c-ohello
2.执行创建的可执行程序,例如:chmod+xhello;./hello
3.编写源码:#include
intmain()
{
printf("hellolinux\r\n");
return0;
}
扩展信息
在LinuxVirtual中,设备使用C语言编译输出“Helloworld”
#include
intmain()
{
printf("Helloworld"!/n");
return0;
}
上一篇:内存超频vpp电压多少合适
下一篇:往linux虚拟机传文件