当前位置:网站首页>0和1的歧义问题
0和1的歧义问题
2022-06-29 01:27:00 【fqbqrr】
0与1有两种表示意思,他们顺序不同,意思刚好相反.1,0/1表示顺序,按顺序的,0为第1个,1为第2个,这是按顺序.2,0/1表示真假,0为假,1为真.他们刚好容易造成歧义问题.
假设有a,b有项内容,如果按顺序,则是a为0,b为1.表示a是第1个,b是第2个.
而如果错误理解成按真假,则变成a为假,b为真.刚好a在第1个,却变成了假!
所以,这非常重要,一定要小心该歧义.
我们可以通过在注释中标记按顺序/按真假来消除这个0/1歧义.
边栏推荐
- Sword finger offer 16 Integer power of numeric value
- Is it safe to open a securities account at qiniu business school in 2022?
- Exclusive analysis | about resume and interview
- Maximum path and problem (cherry picking problem)
- 802.1x协议简述
- [image detection] recognition of the front and back of a coin based on texture features with matlab code attached
- Mysql database password modification
- 第七天 脚本与特效
- 手把手教你搞懂测试环境项目部署
- [TS] type alias
猜你喜欢

Connected to rainwater series problems

测试只能干到35岁?35岁+的测试就会失业?
![[RRT 3D path planning] rapid expansion of random tree UAV 3D path planning based on MATLAB [including Matlab source code phase 1914]](/img/85/a2c159e7051cca01fe7ea177a5b1eb.png)
[RRT 3D path planning] rapid expansion of random tree UAV 3D path planning based on MATLAB [including Matlab source code phase 1914]

Depth first search to realize the problem of catching cattle

统计学习方法(3/22)K近邻法

Large-scale case applications to developing post-click conversion rate estimation with MTL

狼人杀休闲游戏微信小程序模板源码/微信小游戏源码

What is the difference between immunohistochemistry and immunohistochemistry?

EdrawMax思维导图,EdrawMax组织结构图

Installation de la base de données Oracle dans docker
随机推荐
Connected to rainwater series problems
Typescript (4) interface
How to solve the problem of Caton screen when easycvr plays video?
[js practice every m days] JS export object analysis based on libcef application (steam)
[RRT 3D path planning] rapid expansion of random tree UAV 3D path planning based on MATLAB [including Matlab source code phase 1914]
IPFs Brief
BMFONT制作位图字体并在CocosCreator中使用
QT is based on RFID Management System (applicable to most RFID Management Systems)
[Architect (Part 38)] locally install the latest version of MySQL database developed by the server
PAT甲级真题1165
立创eda学习笔记:铺铜死区?孤岛?死铜?
Count the number of different palindrome subsequences in the string
802.1x协议简述
Vulnerability mining | routine in password retrieval
多维分析预汇总应该怎样做才管用?
Breadth first search to catch cattle
What kind of life is a tester with a monthly salary of over 10000?
[image detection] recognition of the front and back of a coin based on texture features with matlab code attached
How can multidimensional analysis pre summary work?
EasyCVR服务private.pem文件被清空,导致无法正常启动该如何处理?