当前位置:网站首页>C language writing specification
C language writing specification
2022-07-24 00:25:00 【Blue_ lan18】
- C Language is case sensitive ;
- Many programmers will follow the specification of using only lowercase letters in identifiers ( Except macro naming ). In order to make the name clear , Underline will also be inserted if necessary : symbol_table current_page name_and_address
- Other programmers avoid underscores , Their method is to start each word in the identifier with a capital letter :
symbolTable currentPage nameAndAddress( The first letter is sometimes capitalized .) - The former style is traditional C Very common in , But now the latter style is more popular , As long as you ensure that the same identifier is used in the same way in the whole program .C There is no limit on the maximum length of identifiers .
- exit(0) or return o Appear in the main Time in function , The two statements are completely equivalent : Both terminate program execution , And return to the operating system 0 value .
- In giving float Type variables need to be assigned with letters f. If not f, The compiler may generate a warning message , Tell you to store in float The number in the type variable may exceed the value range of the variable .
边栏推荐
- 分布式之 CAP 原则
- MySQL之数据查询(SELECT)
- inode、软链接、硬链接
- Jenkins 使用sonarqube构建流水线代码审查项目
- GBase 8c 二进制字符串操作符
- AWS Article 3 how to publish message to IOT mqtt in go language
- Redis 主从、哨兵、集群架构有缺点比较
- Beifeng communication appeared in China (Xiamen) emergency exhibition | intelligent communication means are strong and eye-catching!
- Inode, soft link, hard link
- [Android kotlin] property, getter and setter
猜你喜欢

Jenkins uses sonarqube to build pipeline code review project

理解多态,让不同的“人”做同一件事情会产生不同的结果

PayPal subscription process and API request

vulnhub wpwn: 1

What are blue-green deployment, Canary release and a/b test

Don't let Fujin Yibo see this

Tencent will close the "magic core". Is there any resistance to the development of digital collections?

Delete all data of specified query criteria in Oracle

Table custom table encapsulation

Flutter | the easiest way to add header and footer to listview
随机推荐
mongodb的多数据源配置
数仓数据标准详解-2022
vulnhub wpwn: 1
Robot dog back submachine gun shooting video fire, netizens shivering: stoooooooopppp!
Redis data structure
Gbase 8C access authority query function (V)
Educational Codeforces Round 132 (Rated for Div. 2)(A-D)
Gbase 8C system table information function (II)
Multi data source configuration of mongodb
Summary of pit websocket
Simple implementation and analysis of binary search tree
Intelligent OCR identification of express documents helps the logistics industry to upgrade Digitalization
Distributed cap principle
Redis persistence mechanism RDB, AOF
Summarize the plan, clarify the direction, concentrate and start a new situation -- the Counterpart Assistance Project of hexu software has achieved remarkable results
Try new methods
Redis分布式锁待续
[wechat applet] design and interactive implementation of auction product details page (including countdown and real-time update of bids)
What are blue-green deployment, Canary release and a/b test
Gbase 8C session information function (II)