2018年8月18日

面向过程的简介

摘要: 通俗易懂理解类和对象 •如何驾驶 一辆汽车,并加速行驶? •设计汽车的工程图——类 •工程图中的油门——类的成员函数 •函数隐藏了汽车的复杂设计,提供友好接口。 •按照图纸生产一辆汽车——对象 •驾驶员踩油门——向对象发送消息,即一次成员函数的调用。 •汽车出了提供功能外还有很多其他属性,如颜色,当 阅读全文

posted @ 2018-08-18 13:22 Garne_Aria 阅读(120) 评论(0) 推荐(0)

2018年8月13日

mit introduction to computer science and programming

摘要: lecture3: 主要目标:1.掌握‘递归模块’的主要步骤 内容: 1.复习数据类型,指令类型 2习惯 3模块的构建步骤 4tuple 5string和tuple的关系 递归模块内容: 选择一个计数的变量 在循坏外初始化变量 我的变量应该从哪里开始loop 确定变量终结的范围 我该何时终结这个模块 阅读全文

posted @ 2018-08-13 01:16 Garne_Aria 阅读(75) 评论(0) 推荐(0)

2018年8月9日

the 'plot' is not defined的解决办法

摘要: https://stackoverflow.com/questions/9532903/plot-is-not-defined my question remained: why "from xxx import **" is not suggested? but i now consider th 阅读全文

posted @ 2018-08-09 12:34 Garne_Aria 阅读(572) 评论(0) 推荐(0)

导航