OOP学习笔记coursera(1/2;1/5)

课程名称:Introduction to Object-Oriented Programming in C++
课程内容:Object-Oriented Programming
课程网址:https://www.coursera.org/learn/cplusplus-crypto-i/home/week/1
课程进度:Week1

Week1

Welcome to Object Oriented Programming
Assess评估,评定
Nevertheless然而,尽管如此
Audio音频
Plugin插件
Paradigm范式,范例,典范,样式
Cryptocurrency trading platform数字加密货币交易平台
Currency(n.)货币,通货,通用,流行
Simplified简化了的
Script脚本
Graphic(n.)图案的,图解的(adj.)图表,图形
Jargon行话
Parse对…进行语法分析
Interact互动
Pace(n.)速度,节奏(v.)调整节奏
Ideally完美地
Assessment评估,评定
Essentially基本上,本质上,根本上
Syllabus教学大纲
Pseudocode伪代码
Exception handling异常处理
Static静态的
Estimate估计
Cin cout
getline(cin,xx);获取字符串
stringstream(xxx)>>xx 把字符串输入xxx转成int类型xx 库#include
std::cin和cin无区别,但是新C++标准cin和cout放入了std空间
conditional ternary operator条件三元运算符 1?2:3 1true执行2,1false执行3
a=(b=3,b+2) 效果a=5,b=3
explicit明确的
在这里插入图片描述
Parameter参数
Recursivity递归性

Demonstrating the merkelsim currency exchange simulation
Demonstration证明,演示
Simulation模拟,仿真,假装
Aspirational有志向的
Retrieve检索,取回
Frame帧
Potentially潜在地
Presumably(adv.)很可能,大概
Robust强劲的,坚固的

Is C++ a low-level language?
Hierarchy等级制度
the level of abstraction of the underlying hardware
High level language不需要过多关心底层运行
Forum论坛,讨论会
Justify为…辩解,对…解释,证明

Writing out first program
Interpret解释,口译,诠释,说明
.out file
Compiling linking running a C++ program
Assembler汇编程序
Assembly language汇编语言 is a lower level language than C++
C++ Code->assembly language
g++ -S xx.cpp 得到.s file(assembler)
g++ -c xx.cpp 得到.o file(object code)
.o file通过linking得到.out file
C++ programs that use only the standard library should be cross-platform.

How to compile a program in web-based Visual Studio Code
Spin旋转
Effectively有效地
Back up 备份
Regularly经常,有规律地
Reasonably合理地,合乎逻辑地
在这里插入图片描述

Print a list of options(menu)
Bid出价
Asset资产,财产
Simulation模拟
Integrate整合,合并
Stake股份,桩

Receiving user input with the extraction operator
Extraction提取,开采,提炼
Extraction operator >>
Abuse滥用
Robust强劲的,坚固的,耐用的
It flawed 5.5 down to 5 flaw(n.)缺陷,瑕疵,缺点,错误(v.)损害,削弱,使失效
值2.7 The value is floored to 2 舍入到2 the value is rounded to 3 舍入到3

If statements: conditionally printing responses to the users
Boolean布尔逻辑体系的
so on and so forth …等等
在这里插入图片描述
While(true){}保证we could just keep interacting with the system ctrl+c退出循环

Let’s experiment with std::cout and std::cin
Dial表盘,刻度盘
Cog齿轮
Std is called a namespace and a namespace is essentially a space containing lots of ready-made components or functions or classes
Prefix前缀
Reasonably合理地
Populate生活于,居住于,迁移,移居
在这里插入图片描述
Robust
Explicit明确的
在这里插入图片描述
Imitate模仿

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值