腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
返回腾讯云官网
C++核心准则原文翻译
专栏作者
举报
465
文章
264087
阅读量
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)
搜索文章
搜索
搜索
关闭
自学鸿蒙应用开发(37)- PageSlider组件
图像处理
ide
jquery ui
PageSlider是用于页面之间切换的组件,它通过响应滑动事件完成页面间的切换。
面向对象思考
2021-04-22
586
1
自学鸿蒙应用开发(16)- ListContainer
ide
xml
单片机
https
网络安全
在layout目录下的xml文件中创建ListContainer布局,将其命名为page_listcontainer.xml。
面向对象思考
2021-01-13
644
0
C++核心准则NL.17:使用K&R风格派生的布局
c++
ide
This is the original C and C++ layout. It preserves vertical space well. It distinguishes different language constructs (such as functions and classes) well.
面向对象思考
2020-12-15
629
0
C++核心准则NL.15:谨慎使用空格
ide
Too much space makes the text larger and distracts.
面向对象思考
2020-12-15
445
0
C++核心准则NR.1:不要坚持所有声明都应该放在函数顶部
编程算法
ide
linux
The "all declarations on top" rule is a legacy of old programming languages that didn't allow initialization of variables and constants after a statement. This leads to longer programs and more errors caused by uninitialized and wrongly initialized variables.
面向对象思考
2020-11-10
390
0
关于C++异常,你必须知道的
c++
ide
本文是作者翻译过C++之父Bjarne Stroustrup的技术文章C++核心准则中有关C++中异常的文章之后的总结,希望读者通过本文可以对C++异常有一个全面,快速的了解:
面向对象思考
2020-10-30
564
0
C++核心准则:SF.12:使用双引号形式的#include语句包含相对路径中的文件,用角括号形式包含所有其他位置的文件
html
ide
SF.12:使用双引号形式的#include语句包含相对路径中的文件,用角括号形式包含所有其他位置的文件
面向对象思考
2020-10-30
2.2K
0
C++核心准则SF.1:如果你的项目没有正在遵从的其他习惯,为代码文件使用.cpp后缀,为接口文件使用.h后缀
c#
c++
html
其他
ide
SF.1: Use a .cpp suffix for code files and .h for interface files if your project doesn't already follow another convention
面向对象思考
2020-10-10
568
0
C++核心准则CPL.2:如果你必须使用C,使用C和C++的共同子集,并且使用C++编译器编译C代码
c++
编程算法
打包
ide
CPL.2: If you must use C, use the common subset of C and C++, and compile the C code as C++
面向对象思考
2020-10-10
662
0
C++核心准则CP.2:避免数据竞争
ide
http
对象存储
Unless you do, nothing is guaranteed to work and subtle errors will persist.
面向对象思考
2020-07-02
465
0
C++核心准则ES.79:使用default处理一般case
ide
c++
Code clarity. Improved opportunities for error detection.
面向对象思考
2020-06-09
298
0
C++核心准则ES.48:避免使用类型转换
linux
ide
Casts are a well-known source of errors. Make some optimizations unreliable.
面向对象思考
2020-05-25
602
0
C++核心准则ES.43: 避免在表达式中使用无定义的运算次序
ide
编程算法
You have no idea what such code does. Portability. Even if it does something sensible for you, it may do something different on another compiler (e.g., the next release of your compiler) or with a different optimizer setting.
面向对象思考
2020-05-15
460
0
使用30元开发板UNO D1 R32构筑物联网开发环境
https
网络安全
单片机
ide
node.js
用厂家的话来讲,ESP32 采用 40 nm 工艺制成,具有最佳的功耗性能、射频性能、稳定性、通用性和可靠性,适用于各种应用场景和不同功耗需求。以下是ESP32的主要参数:
面向对象思考
2020-03-25
1.7K
0
使用Eclipse构建树莓派远程调试环境
eclipse
ide
linux
在Ubuntu主机端使用gdb-multiarch实现远程调试之后,接下来使用说明在Eclipse中实现远程调试的方法。
面向对象思考
2020-03-25
905
0
用VisualStudio2019预览版体验C++20新功能
c++
ide
打包
https
网络安全
最近的连载中有很多内容涉及到C++20中的内容,例如concept等。但是由于C++20还属于新生事物,不仅可以参考的例子少,找到一个可以体验C++20功能的开发环境都困难。本文介绍使用微软VisualStudio2019预览版体验C++20新特性的方法。
面向对象思考
2020-03-25
617
1
C++核心准则编译边学-F.46 main函数的返回值类型是整数
ide
It's a language rule, but violated through "language extensions" so often that it is worth mentioning. Declaring main (the one global main of a program) void limits portability.
面向对象思考
2020-03-25
675
0
没有更多了
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
立即发文
Python精品学习库
代码在线跑,知识轻松学
立即查看
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
立即体验
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
立即查看
领券
问题归档
专栏文章
快讯文章归档
关键词归档
开发者手册归档
开发者手册 Section 归档