腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
返回腾讯云官网
C++核心准则原文翻译
专栏作者
举报
465
文章
263953
阅读量
44
订阅数
订阅专栏
申请加入专栏
全部文章(465)
c++(211)
编程算法(91)
https(60)
python(53)
网络安全(53)
gui(37)
linux(32)
es(18)
ide(17)
网站(13)
打包(12)
git(11)
github(11)
html(10)
开源(10)
function(9)
http(8)
express(7)
容器(7)
class(7)
this(7)
java(6)
javascript(6)
c#(6)
jquery ui(6)
access(6)
serverless(6)
缓存(6)
小程序(6)
node.js(5)
code(5)
object(5)
对象存储(4)
腾讯云测试服务(4)
gcc(4)
uml(4)
微信(4)
迁移(4)
auto(4)
behavior(4)
default(4)
error(4)
handle(4)
local(4)
types(4)
unsigned(4)
其他(3)
单片机(3)
数据库(3)
ubuntu(3)
数据分析(3)
腾讯云开发者社区(3)
constructor(3)
copy(3)
crash(3)
data(3)
exception(3)
exit(3)
list(3)
overflow(3)
templates(3)
thread(3)
using(3)
ios(2)
xml(2)
android(2)
sql(2)
eclipse(2)
api(2)
文件存储(2)
vr 视频解决方案(2)
underscore(2)
面向对象编程(2)
socket编程(2)
arguments(2)
bit(2)
bug(2)
constants(2)
containers(2)
declaration(2)
embedded(2)
goto(2)
implementation(2)
integer(2)
io(2)
it(2)
member(2)
modulo(2)
nested(2)
point(2)
reference(2)
scope(2)
sizeof(2)
time(2)
ui(2)
variables(2)
void(2)
布局(2)
事件(2)
通信(2)
php(1)
go(1)
actionscript(1)
css(1)
jquery(1)
json(1)
硬件开发(1)
unix(1)
apache(1)
图像处理(1)
存储(1)
ssh(1)
数据结构(1)
abstract(1)
add(1)
algorithm(1)
allocation(1)
arrays(1)
block(1)
break(1)
button(1)
case(1)
center(1)
character(1)
cin(1)
combinations(1)
comments(1)
compatibility(1)
compilation(1)
composition(1)
constraints(1)
container(1)
core(1)
cout(1)
debug(1)
delegates(1)
diagram(1)
division(1)
effects(1)
evaluation(1)
file(1)
flush(1)
grammar(1)
heap(1)
image(1)
implicit(1)
indentation(1)
input(1)
int(1)
interface(1)
line(1)
literals(1)
lock(1)
matrix(1)
media(1)
memory(1)
message(1)
monitor(1)
mutex(1)
namespaces(1)
operators(1)
output(1)
overloading(1)
parentheses(1)
pointers(1)
pool(1)
private(1)
project(1)
protected(1)
range(1)
require(1)
reset(1)
rules(1)
sharing(1)
size(1)
slice(1)
src(1)
surface(1)
table(1)
typedef(1)
undefined(1)
unique(1)
view(1)
zero(1)
地图(1)
定时器(1)
接口(1)
异步(1)
语法(1)
指针(1)
搜索文章
搜索
搜索
关闭
自学鸿蒙应用开发(24)- 会计算的计算器(含源码)
腾讯云开发者社区
git
github
开源
前面的文章介绍过如何使用鸿蒙布局功能构建一个计算器界面,本文是那篇文章的续集。使用作者以前学习安卓开发时写的一个计算器程序,后来出版《实战Python设计模式》一书时又将其作为解释器模式的例子进行说明。首先看基本动作的演示视频:
面向对象思考
2021-02-25
920
0
C++核心准则Pro.lifetime:生命周期安全群组
c++
github
https
git
开源
Accessing through a pointer that doesn't point to anything is a major source of errors, and very hard to avoid in many traditional C or C++ styles of programming. For example, a pointer might be uninitialized, the nullptr, point beyond the range of an array, or to a deleted object.
面向对象思考
2020-11-11
412
0
C++核心准则E.19:如果无法选择适当的资源句柄,使用final_action表现清除处理
github
https
express
git
开源
finally is less verbose and harder to get wrong than try/catch.
面向对象思考
2020-08-10
514
0
C++核心准则E.25:如果不能抛出异常,模仿RAII方式进行资源管理
linux
github
对象存储
git
开源
Even without exceptions, RAII is usually the best and most systematic way of dealing with resources.
面向对象思考
2020-08-10
568
0
C++核心准则E.2:通过抛出异常来表明函数无法执行指定的任务
https
github
网络安全
git
开源
To make error handling systematic, robust, and non-repetitive.
面向对象思考
2020-07-28
423
0
C++核心准则CP.8:不要使用volatile关键字实现同步处理
c++
github
https
git
开源
CP.8: Don't try to use volatile for synchronization
面向对象思考
2020-07-03
341
0
C++核心准则ES.60:避免在资源管理函数之外使用new和delete
https
github
编程算法
网络安全
git
Direct resource management in application code is error-prone and tedious.
面向对象思考
2020-05-25
323
0
C++核心准则ES.23:优先使用{}初始化器语法
编程算法
github
https
git
开源
Prefer {}. The rules for {} initialization are simpler, more general, less ambiguous, and safer than for other forms of initialization.
面向对象思考
2020-04-28
536
0
C++核心准则R.4: 原始引用(T&)不包含所有权
https
github
网络安全
git
开源
There is nothing (in the C++ standard or in most code) to say otherwise and most raw references are non-owning. We want owners identified so that we can reliably and efficiently delete the objects pointed to by owning pointers.
面向对象思考
2020-03-26
471
0
Arduino环境使用TM1638扩展版
单片机
https
网络安全
github
git
TM1638深圳天微生产的一种带键盘扫描接口的LED(发光二极管显示器)驱动控制专用IC,内部集成有MCU数字接口、数据锁存器、LED驱动、键盘扫描等电路。使用TM1638的显式模块在市场上非常多,价格也很便宜。某宝10元左右就可以买到。例如下面的数码管+LED+按键模块(可以使用TM1638+led+key进行搜索):
面向对象思考
2020-03-25
2K
1
C++核心准则边译边学-序言
https
网络安全
github
git
开源
C++核心准则(C++ Core Guidelines)是由C++语言两位大神级的人物发表的有关C++语言编程的指导性文件,目前还处于不断修改和完善的过程中。从今天开始作者尝试翻译和学习该文档。
面向对象思考
2020-03-24
1.5K
0
没有更多了
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
立即发文
Python精品学习库
代码在线跑,知识轻松学
立即查看
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
立即体验
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
立即查看
领券
问题归档
专栏文章
快讯文章归档
关键词归档
开发者手册归档
开发者手册 Section 归档