请用c++语言写一个hello world程序
时间: 2023-05-21 17:06:04 浏览: 91
c++构写Hello World程序
Sure, here's a hello world program written in C:
```
#include <stdio.h>
int main() {
printf("Hello, world!\n");
return 0;
}
```
This program will print the message "Hello, world!" when executed.
阅读全文