C++ 入门第四章。用猜数字游戏贯穿全章,讲透 if 三种形态、switch 穿透陷阱、while 与 do while 的先后、for 三段结构、break 与 continue,再到嵌套循环和随机数,最后拼出完整游戏。