converntion
One convention that we have is to use the names of fruits and vegetables for variables(only in small code frsgments,nout in any real program,of course)。
一个约定我们使用水果和蔬菜的名称作为变量。
converntion 约定 variables 变量 frsaments
char pear[40]; 梨
double peach; 桃子
int mango=13; 芒果
long melon=2001; 甜瓜
This makes it easy to tell what's a C reserved word,and what's a name the programmer supplied.
这使得很容易告诉什么是一个C保留字,什么是有程序员提供的。
reserved word 保留字,关键字
Some people say that you can't compare apples and oranges,but why not-they are both hand-held round edible things that grow on trees.
edible adj 可食用的 n 食品,食物
Once you get used to it,the fruit loops really seem to help.
一旦你习惯使用它,水果圈真的看起来有帮助。
loop vt 使什么成环 n 圈,环
There is one other convention-sometimes we repeat a key point to emphasize it.
emphasize vt 着重,强调
Like a gourmet recipe book,Expert C Programming has a collection of tasty morsels ready for the reader to sample.
gourmet n 美食家 recipe n 食谱 morsels n (食物)少量
Each chapter is divided into related but self-contained sections;it's equally easy to read the book serially from start to finish,or to dip into it at random and review an individual topic at length.
serially adj 连续的 dip into 研究它 at length 最后,详细的
the technical details are sprinkled with many true stories of how C programming works in practice.
technical details 技术细节 in practice 在实践中 事实上
Humor is an important technique for mastering new material,so each chapter ends with a "light relief" section containing an amusing C story or piece of software folklore to give the reader a change of pace.
幽默是一种重要的技术,掌握新材料,所以每一章结尾“轻松”一节包含一个可笑的C故事或软件的民间传说,给读者一个改变习惯。
converntion的更多相关文章
- RoR - Introduction to Active Record
Active Record: ORM ( Object-relational Mapping)Bridges the gap between relational databases , which ...
随机推荐
- IIS、SQL SERVER和VS的安装顺序
正确安装顺序:先安装IIS,再安装SQL SERVER,最后安装VS. 如果先安装VS后安装的IIS,则需要找到对应的.net framework目录下,执行aspnet_regiis.exe,重新注 ...
- Jquery 1.8.2 click function - 动态
Jquery 动态按钮方法如下: $("#parentID").on("click",'.classname',function(){$(this).par ...
- Labview实现字符串加密
Labview实现字符串加密 对字符串进行加密,规则是每个字母后移5 位 例如A 变为F,b 变为g,x 变为c,y 变为d- 实现效果 后端实现
- responsive layout
http://cssdeck.com/labs/7wsdvxdc http://getbootstrap.com/css/ http://getbootstrap.com/2.3.2/scaffold ...
- QT对话框设计
软件和系统:QTcreator5.7,win8.1 1. 首先新建项目,选择application中的Qt widgets application. 2. 创建类Dialog,选择QDialog作为基 ...
- gameObject, vector and transform
调用其它组件中成员 通过GameObject(游戏物体). Base class for all entities in Unity scenes. 是Unity场景里面所有实体的基类. 可以理解为 ...
- linux 安装memcached
1.下载文件wget http://www.monkey.org/~provos/libevent-1.4.12-stable.tar.gzwget http://www.memcached.org/ ...
- How to find and fix Bash Shell-shock vulnerability CVE-2014-6271 in unix like system
type command - env x='() { :;}; echo vulnerable' bash -c 'echo hello' in your terminal. if your sy ...
- 创建REST服务应用程序
Web服务类别有两种,一种是基于SOAP协议的服务,另一种是基于HTTP协议的REST架构风格的服务.REST服务的数据格式有两种:XML 和 JSON,REST服务已被大量应用于移动互联网中. 本文 ...
- Leetcode#148 Sort List
原题地址 链表归并排序 真是恶心的一道题啊,哇了好多次才过. 代码: void mergeList(ListNode *a, ListNode *b, ListNode *&h, ListNo ...