当前位置:首页 > 虚拟机 > 正文

虚拟机怎么退出c语言程序


一、在linux虚拟机中怎么用c语言编译输出"hellolinux"。。。求详细过程。。。。

1.编译生成的可执行程序,例如:gcc-Whello.c-ohello

2.执行生成的可执行程序,例如:chmod+xhello;./hello

3。编写源码:

#include

intmain()

<

printf("hellolinux\r\n");

return0;

}

扩展信息

在Linux虚拟机中使用C语言编译生成“Helloworld”

#include

intmain()

<

printf(“你好世界!/n”);

return0;

}


二、请问mrp的MOC虚拟机是手机c语言1.几改造的C是灵必摩水瓶开发的高品质软件,这也是国机MTK虚拟机与移动C语言完美结合的希望(来自,雪资源网)。