当前位置:网站首页>Data storage (1)
Data storage (1)
2022-07-06 22:19:00 【wx61de0d6870204】
C Language type :1. Built in type
Basic classification of types : integer ——char,short,int,long
floating-point ——float,double
Construction type —— An array type , Type of structure (struct), Enumeration type (enmu), Joint type (union)
Pointer types ——int *pi,char *pa,float* pf,void* pv
Empty type ——void Indicates empty type ( No type )
2. Custom type
The meaning of type :1. Use this type to open up the size of the space ( Size determines the range of use )
2. How to look at the perspective of memory space
Big end, small end : Big end ( Storage ) Pattern , The low bit of data is stored in the high address of memory , And the high end of the data , Stored in a low address in memory
The small end ( Storage ) Pattern , The low bit of data is stored in the low address of memory , And the high end of the data , Stored in a high address in memory
Why is there a big end and small end mode ? This is because in a computer system , We are in bytes , Each address unit corresponds to this byte , A byte is 8bit. But in c In language, except 8bit Of char outside , also 16bit Of short type ,32bit Of long type . in addition , For digits greater than 8 Bit processor , for example 16 Bits or 32 Bit processor , Because the register width is larger than one byte , So there must be a problem of how to arrange multiple bytes , This leads to the big end storage mode and the small end storage mode
边栏推荐
- Mysql相关术语
- [sciter]: encapsulate the notification bar component based on sciter
- i. Mx6ull build boa server details and some of the problems encountered
- Management background --5, sub classification
- CCNA-思科网络 EIGRP协议
- AI 企业多云存储架构实践 | 深势科技分享
- Unity3D学习笔记6——GPU实例化(1)
- GPS从入门到放弃(十四)、电离层延时
- 2500 common Chinese characters + 130 common Chinese and English characters
- 小程序系统更新提示,并强制小程序重启并使用新版本
猜你喜欢
[10:00 public class]: basis and practice of video quality evaluation
2020 Bioinformatics | GraphDTA: predicting drug target binding affinity with graph neural networks
Unity3d Learning Notes 6 - GPU instantiation (1)
2500 common Chinese characters + 130 common Chinese and English characters
ZABBIX proxy server and ZABBIX SNMP monitoring
搜素专题(DFS )
Management background --4, delete classification
GNN, please deepen your network layer~
GPS from getting started to giving up (19), precise ephemeris (SP3 format)
labelimg的安装与使用
随机推荐
[sciter]: encapsulate the notification bar component based on sciter
HDU 2008 digital statistics
Mongodb (III) - CRUD
2022年6月国产数据库大事记-墨天轮
每日一题:力扣:225:用队列实现栈
i. Mx6ull build boa server details and some of the problems encountered
【sdx62】WCN685X将bdwlan.bin和bdwlan.txt相互转化操作方法
MongoDB(三)——CRUD
硬件开发笔记(十): 硬件开发基本流程,制作一个USB转RS232的模块(九):创建CH340G/MAX232封装库sop-16并关联原理图元器件
Xiaoman network model & http1-http2 & browser cache
二叉(搜索)树的最近公共祖先 ●●
Set status bar style demo
LeetCode学习记录(从新手村出发之杀不出新手村)----1
Save and retrieve strings
GPS from getting started to giving up (16), satellite clock error and satellite ephemeris error
GNN,请你的网络层数再深一点~
Barcodex (ActiveX print control) v5.3.0.80 free version
lora同步字设置
[10:00 public class]: basis and practice of video quality evaluation
OpenCV300 CMake生成project在项目过程中的问题