写一段完整的helloworld的c++程序
时间: 2023-05-31 19:07:48 浏览: 189
c++构写Hello World程序
Sure, here is a simple hello world program in C:
```c
#include <stdio.h>
int main() {
printf("Hello, world!\n");
return 0;
}
```
This program will print the message "Hello, world!" to the console when it is run.
阅读全文