技术栈

do-while

huangzhendong1
6 个月前
c++·continue·for·while·break·do-while
重生之我在21世纪学C++—循环语句while ( 表达式 ){语句}while默认只能跟一条语句,如果有多条语句,需要用{ }将语句括起来。