当前位置:网站首页>C语言基础知识
C语言基础知识
2022-07-01 13:35:00 【Java学不会】
1、进位计数制
- 十进制(Decimal):由0~9十个数字组成,缝十进一。
- 二进制(Binary): 由0、1两个数字组成,缝二进一。
- 八进制(Octal): 由0~7八个数字组成,缝八进一。
- 十六进制(Hexadecimal): 由0~9十个数字和A、B、C、D、E、F(或者小写字母)六个字母组成,缝十六进一。
2、进制的脚标
- 二进制:
B
- 八进制:
Q
- 十进制:
D
(如果没有脚标默认是十进制) - 十六进制: H
3、字符在计算机内部的表示
字符
在计算机内部以ASCII
进行表示。- ASCII码: 美国信息交换码,采用
低7位
二进制编码(0000000B ~ 1111111B),ASCII码的范围是0 ~ 127,共128个。 - 大写字母: A ~ Z(65 ~ 90)
- 小写字母: a ~ z (97 ~ 122)
- 数字: 0 ~ 9 (48 ~ 57)
- 空格(space):32
- 字符占
一个字节
,汉字占两个字节
边栏推荐
猜你喜欢
内容审计技术
[anwangbei 2021] Rev WP
Animesr: learnable degradation operator and new real world animation VSR dataset
Professor Li Zexiang, Hong Kong University of science and technology: I'm wrong. Why is engineering consciousness more important than the best university?
Several models of IO blocking, non blocking, IO multiplexing, signal driven and asynchronous IO
When you really learn databinding, you will find "this thing is really fragrant"!
【机器学习】VAE变分自编码器学习笔记
[machine learning] VAE variational self encoder learning notes
Etcd 概要 机制 和使用场景
B站被骂上了热搜。。
随机推荐
Fiori 应用通过 Adaptation Project 的增强方式分享
Kongsong (Xintong Institute) - cloud security capacity building and trend in the digital era
小程序- view中多个text换行
About fossage 2.0 "meta force meta universe system development logic scheme (details)
关于佛萨奇2.0“Meta Force原力元宇宙系统开发逻辑方案(详情)
盲盒NFT数字藏品平台系统开发(搭建源码)
Explain IO multiplexing, select, poll, epoll in detail
【剑指Offer】54. 二叉搜索树的第k大节点
运行游戏时出现0xc000007b错误的解决方法[通俗易懂]
Analysis report on the development prospect and investment strategy of the global and Chinese laser chip industry Ⓑ 2022 ~ 2027
7. Icons
Sharing with the best paper winner of CV Summit: how is a good paper refined?
[machine learning] VAE variational self encoder learning notes
The best landing practice of cave state in an Internet ⽹⾦ financial technology enterprise
LeetCode重建二叉树详解[通俗易懂]
Applet - multiple text line breaks in view
ArrayList capacity expansion mechanism and thread safety
spark源码(五)DAGScheduler TaskScheduler如何配合提交任务,application、job、stage、taskset、task对应关系是什么?
陈宇(Aqua)-安全->云安全->多云安全
Have you ever encountered the problem that flynk monitors the PostgreSQL database and checkpoints cannot be used