变量
定义和c一样
int i;
int i,k;
int m=0;
常量
const<常量类型><常量名称>=<值>;
const int p=1;
const string APP_NAME="hello world"
不可以修改的值
分支结构
if 分支
switch分支
循环结构
while循环
for 循环
do while 循环
变量
定义和c一样
int i;
int i,k;
int m=0;
常量
const<常量类型><常量名称>=<值>;
const int p=1;
const string APP_NAME="hello world"
不可以修改的值
分支结构
if 分支
switch分支
循环结构
while循环
for 循环
do while 循环