Home > Interview > CS Tutorial> Knowledge
Hi,for this part, I will record the learning pace of myself about the following programming language.
This page I will also write down some basic knowledge about the algo
HW1 为上层目录
(1) 在C++中,我们经常在开始写代码之前加入:
using namespace std;
后续就可以只写:
cout << “This” << endl
(2) when to add Comma
behind the non-control statement
control statement: if;while;switch;break;for——alter the program’s flow
non-control statement: variable declaration,assignment,function call——perform operation without affecting the flows
(3) forward declarations
1 | void function2(int a, string b); |