面向对象的思想去思考
abstract 抽象,在某个层次看,屏蔽细节
- abstraction is the ability to ignore details of parts to focus attention on a higher level of a problem
- modularization(模块化) is the process of dividing a whole into well-defined(容易辨认的) parts.which can be built and examined separately,and which interact(相互作用) in well-defined ways
modularizing the clock display
object & classes
class diagram
5个源程序文件 .h + .cpp