您的位置首页百科知识

用C语言编写Helloworld

用C语言编写Helloworld

的有关信息介绍如下:

用C语言编写Helloworld

Helloworld是所有编程语言的基础,但它到底怎么编写呢?今天我们就来用Dev-c++编写Helloworld

首先打开Dev-c++

点击File —》New —》Source File

输入代码:

#include

int main()

{

printf("Hello, world!\n");

return 0;

}

按F11运行