当前位置:网站首页>New knowledge today
New knowledge today
2022-06-12 04:58:00 【なんでもないゃ】
1、 Operator % Take the remainder , for example x%y, When x<y when ,x%y be equal to x, Such as 1%5=1;x>y when ,x%y It's the remainder , Such as 7%5=2.
2、if Statement else Write but not write , If there are other circumstances, you can write else if.
3、switch case Medium case And then :, If a certain case When the conditions , It's going to go all the way down , Until I met break, perhaps default.
4、 Automatic type conversion int And long,int You can automatically type into long, and long Cannot be automatically converted to int, But in this way you can ,int n=5; n+=5L; This is the time long type 5L Automatically convert to int It's shaped .
5、~ It's a bit operator , Namely the 0 become 1, hold 1 become 0.
If there is any mistake, please point out ~
边栏推荐
- Interview must ask: summary of ten classic sorting algorithms
- Day18 creation and restoration of sparse array
- Summary of problems in rv1109/rv1126 product development
- 加速训练之并行化 tf.data.Dataset 生成器
- 1008 color classification
- How to quickly reference uview UL in uniapp, and introduce and use uviewui in uni app
- Spatial distribution data of China's tertiary watershed / national new area distribution data /npp net primary productivity data / spatial distribution data of vegetation cover / land use data /ndvi d
- Token based authentication
- JS set the position of the current scroll bar
- Advanced MySQL knowledge points (7)
猜你喜欢

Yolov5 realizes road crack detection

JWT learning and use

kali_ Change_ Domestic source

BI 如何让SaaS产品具有 “安全感”和“敏锐感”(上)

How to count the total length of roads in the region and draw data histogram

【cjson】根节点注意事项

Operation of simulated examination platform for theoretical question bank of G2 utility boiler stoker in 2022

2022 self study materials for Zhejiang computer level III network and security technology examination (1) (updated on 2.28)

Soil type, soil texture, soil nutrient and change data, soil organic matter, soil pH, soil nitrogen, phosphorus and potassium

Chrome is amazingly fast, fixing 40 vulnerabilities in less than 30 days
随机推荐
Soil type, soil texture, soil nutrient and change data, soil organic matter, soil pH, soil nitrogen, phosphorus and potassium
asp. Net core theme Middleware
[backtracking] backtracking to solve subset problems
Sentinel-2 data introduction and download
AI and logistics Patent
Understanding of day16 array create query static and dynamic array array array performance in memory
Minigui3 runs on Hisilicon hi3520d/hi3531 platform
IC验证中的force/release 学习整理(6)研究对 wire 类型信号的影响
[backtracking method] queen n problem
Font conversion optimization
LabVIEW about TDMS and Binary Storage Speed
Data processing and data set preparation
Operation of simulated examination platform for theoretical question bank of G2 utility boiler stoker in 2022
How to deploy dolphin scheduler Apache dolphin scheduler 1.2.0 in cdh5.16.2
MySQL5.7.21 Build For ARM
Design of a simple embedded web service application
How to generate provincial data from county-level data in ArcGIS?
A complete set of installation procedures (for learning and communication only)
2022 "college entrance examination memory" has been packaged, please check!
Microsoft announces that it will discontinue support for older versions of visual studio