cpp-primer-4:statement 2017-04-20 read-notescpp-primer Statement 语句简单语句 空语句 ; 声明语句 int ival; 可以同时声明多个 int ival =1,ival2 = 3; 建议按类型分组声明 IF 建议if语句用括号括起来 避免歧义 12345if( condition ){ statement}else{ statement} switch 注意执行case 直到遇见break为止 for while 最后更新时间:2024-06-24 11:58:21 转载请注明:http://devhc.com/read-notes/cpp-primer/read-notes-cpp-primer-cpp-primer-4-statment/ 赏 Prev cpp-primer-3:expression Next cpp-primer-6-function