Hello World !C++98 - C++171234567#include <iostream>using namesapce std;int main(){ cout << "hello world" << endl; return 0;} C++2012345678910import <iostream>;import <format>;import <string>;using namespace std;int main(){ string world {"world"}; cout << format("hello {}",world) << endl; return 0;} C++231234567import std;using namespace std;int main(){ print("hello world"); return 0;} 从C++98到C++23,计算机的旅途正式开始!