C++循环
循环类型
while
for
do…while
嵌套
循环控制语句
break语句
continue语句
goto语句
无限循环
如果条件永远不为假,则循环将变成无限循环
C++判断
判断语句
if
if..else
嵌套if
switch
嵌套switch
?:运算符
Exp1 ? Exp2 : Exp3;
C++循环
循环类型
while
for
do…while
嵌套
循环控制语句
break语句
continue语句
goto语句
无限循环
如果条件永远不为假,则循环将变成无限循环
C++判断
判断语句
if
if..else
嵌套if
switch
嵌套switch
?:运算符
Exp1 ? Exp2 : Exp3;