Loading

摘要: endl:换行 fixed:用一般的方式输出浮点数(在iostream头文件里) specify that (for output sent to the cout stream) decimal format (not scientific notation) be used, and that 阅读全文
posted @ 2020-04-23 20:32 脂环 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 1.Responsibility Driven Design(责任驱动设计) 2. Behavior(行为) and State(状态)  Instances(实例) and Classes(类)  Coupling(耦合) and Cohesion(内聚)  Interface(接口) an 阅读全文
posted @ 2020-04-23 20:03 脂环 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 主要是一些名词Q^Q 1.头文件:It is common to place struct type declarations with TypeNames in a (.h) header file and # include that file. 不要在头文件用using,这样的话可能导致某些c 阅读全文
posted @ 2020-04-23 19:50 脂环 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 1. Constructors(构造函数) 函数名即类名,无返回值,为对象开辟存储空间时自动调用。可使用初始化器:PlayingCard (Suits is, int ir) : suitValue (is), rankValue (ir) { } 2. Default Constructor(缺省 阅读全文
posted @ 2020-04-23 19:23 脂环 阅读(39) 评论(0) 推荐(0) 编辑
摘要: You are given an undirected unweighted graph consisting of nn vertices and mm edges (which represents the map of Bertown) and the array of prices pp o 阅读全文
posted @ 2020-04-23 16:05 脂环 阅读(229) 评论(0) 推荐(0) 编辑