当前位置:网站首页>[C language _ study _ exam _ review lesson 3] overview of ASCII code and C language
[C language _ study _ exam _ review lesson 3] overview of ASCII code and C language
2022-07-27 09:15:00 【Super Daxiong】
【C Language _ Study _ The test _ Review lesson 3 】ASCII Code and C Language Overview
ASCII Code and C Language Overview
Ask every day :10101111 Use octal 、 Decimal system 、 Hexadecimal indicates how much ?
If you haven't learned binary conversion, please learn Lesson 2 first http://t.csdn.cn/tBGrV
http://t.csdn.cn/tBGrV
Catalog
【C Language _ Study _ The test _ Review lesson 2 】ASCII Code and C Language Overview
What is? ASCII code ?
ASCII ((American Standard Code for Information Interchange): American standard code for information exchange ) Is based on Latin alphabet A set of computers Programming System , Mainly used to show modern English And others Western Europe Language . It is the most versatile Information standard , It's the same as The international standard ISO/IEC 646.ASCII The first time it was published as a standard type was in 1967 year , The last update was in 1986 year , So far, we have defined 128 Characters
00000000B-11111111B 0-127 altogether 128 Encoding
In general, we just need to remember
A-Z 65-90
a-z 97-122
0-9 48-57
Space (space)32
common ASCII The size rule of the code :
1 Numbers are smaller than letters
2 Numbers 0 More than numbers 9 smaller
3 Letter A Than letters Z smaller , And press A To Z The order is increasing .
4 The upper case of the same letter is smaller than the lower case 32.
C Language Overview
C Language is a kind of computer programming language , It has the characteristics of high-level language and assembly language . It can be used as the system setting language , Write work system applications , It can also be used as an application design language , Write application systems that do not rely on computer hardware .
C The extension of the program written in language is .C, After compilation, the extension of the generated file is .obj( Engineering documents ), The extension of the linked file is .exe( Executable file ).
C Language belongs to compiled language .
C The structure of language :
- A program consists of one or more source files
- The function is c An important part of the program
- A function consists of two parts Function radical The body of the function
- The program always starts from main The function starts executing
- The operation that the computer is required to complete in the program is performed by c Language accomplished .
- Every data declaration and statement must have a semicolon at the end .
- C The language itself does not provide input and output statements
- The program should include comments
C Language features :
The function is c programmatic Basic unit
The program always starts from main Function start execution ,main End of the function ,main The position of the function is arbitrary .
Statement plus ; End of the said
The sentence is c Linguistic The smallest constituent unit .
One line can write one or more statements , A statement can also be written as one or more lines .
C Language identifier
The composition of the identifier :
Identifier by number 、 The character slide line is composed of . It can only start with letters and slide lines
Classification of identifiers :
- keyword (c99)
2. User defined identifier ( That is, name )
C Languages are case sensitive
- Predefined identifiers
for example :scanf( Input function )、printf( Output function )、include( File contains )、define( Macro definition ) etc. .
Be careful :C Language keywords cannot be used for user identifiers
C Language keywords are lowercase letters
Identifiers are case sensitive
Colored eggs

Little knowledge :C Language used to be called B Language
If something is wrong , Welcome to point out . Thank you for your one button three connection ! We'll see you next time !
边栏推荐
- PyQt5快速开发与实战 4.1 QMainWindow
- Nut weather
- Ztree custom title attribute
- NPM install error forced installation
- vscod
- Linux Installation and remote connection MySQL records
- QT uses SQLite to open multiple database files at the same time
- CUDA programming-05: flows and events
- MySQL基础知识学习(一)
- Install Oracle under Linux, connect local pl/sql to Oracle import table under Linux, and create new user and password
猜你喜欢

Antdesign a-modal自定义指令实现拖拽放大缩小
![[acl2020] a novel method of component syntax tree serialization](/img/24/b8ec489966f7b1deef82b2eefa4d1b.png)
[acl2020] a novel method of component syntax tree serialization

软件测试功能测试全套常见面试题【功能测试-零基础】必备4-1

BEVFormer: Learning Bird’s-Eye-View Representation from Multi-Camera Images via Spatiotemporal Trans

拍卖行做VC,第一次出手就投了个Web3

音乐体验天花板!14个网易云音乐的情感化设计细节

500 error reporting

Music experience ceiling! Emotional design details of 14 Netease cloud music

Intel, squeezed by Samsung and TSMC, finally put down its body to customize chip technology for Chinese chips

CUDA programming-02: first knowledge of CUDA Programming
随机推荐
Two tips in arkui framework
openharmony萌新贡献指南
易语言编程: 让读屏软件可获取标签控件的文本
函数防抖节流
C# 窗体应用常用基础控件讲解(适合萌新)
基于ArkUI eTS开发的坚果笑话(NutJoke)
ES6 new - object part
一些实用、常用、效率越来越高的 Kubernetes 别名
Cross domain and processing cross domain
NPM and yarn update dependent packages
How to study happily on station B?
[interprocess communication IPC] - semaphore learning
Restful
Aruba learning notes 10 security authentication portal authentication (web page configuration)
Svg drawing curve
Encountered 7 file(s) that should have been pointers, but weren‘t
8 kinds of visual transformer finishing (Part 2)
Matlab drawing skills and examples: stackedplot
ArkUI框架中的两个小技巧
The wechat installation package has soared from 0.5m to 260m. Why are our programs getting bigger and bigger?