Hello World 中文意思是『你好,世界』。因为《The C Programme Language》中使用它做为第一个演示程序,非常著名,所以后来的程序员在学习编程或进行设备调试时延续了这一习惯。
所以这可是最基础的一道程序哇~
#include <cstdio>
#include <iostream>
using namespace std;
int main()
{
printf("Hello World!");
return 0;
}
(什么?有没有难一点儿的?)
欢迎参看https://www.luogu.org/problemnew/show/P4004,这个也是Hello world。