C++——Learn the Basics1 Hello, World!

C++——Learn the Basics1 Hello, World!
开头的部分,基本是固定的
有点类似于python的import pandas as pd
可以引入不同的库,,<>里面的库可以不一样

C++——Learn the Basics1 Hello, World!
int 表示返回的是整数
还有void之类

C++——Learn the Basics1 Hello, World!
返回什么东西要写出来,return 表示,
比如return x

C++——Learn the Basics1 Hello, World!
C++比较麻烦在,cout这里表示屏幕上输出的东西
用hadoop的时候会很经常用到,是输入流/输出流

Hello, World! - Learn C++ - Free Interactive C++ Tutorial https://www.learn-cpp.org/en/Hello%2C_World%21