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的更多相关文章

  1. RoR - Introduction to Active Record

    Active Record: ORM ( Object-relational Mapping)Bridges the gap between relational databases , which ...

随机推荐

  1. lvs keepalived 安装配置详解

    前段时间看了一篇文章,lvs做负载均衡根F5差不多,说实话不怎么相信,因为F5没玩过,也无法比较.F5相当的贵,真不是一般企业能负担的起的.负载均衡软件也用过不少,nginx,apache,hapro ...

  2. MongoDB 数据类型

    MongoDB支持许多数据类型的列表下面给出: String : 这是最常用的数据类型来存储数据.在MongoDB中的字符串必须是有效的UTF-8. Integer : 这种类型是用来存储一个数值.整 ...

  3. FPGA中如何实现除法?

    摘自:<xilinx FPGA 开发实用教程> 1)被除数重复的减去除数,直到检测到余数小于除数为止,优点:对于除数与被除数相差较小的情况下合适 2)通过如下图片方式实现+状态机.优点:挺 ...

  4. 重装win7系统的方法

    1.当电脑可以运行的情况下重装系统: 用傻瓜似的重装系统就可以了,这个简单,不在累赘. 2.当电脑打不看的情况下: 2.1 用光盘安装系统,这个有好多教程,不在累赘. 2.2 用U盘安装方法: 2.2 ...

  5. 59.DDR3_IP核文件设置

    在ISE软件生成DDR3 IP核时,会产生很多文件,其中user_design,example_design里面分别是用户接口文件和自带的仿真测试文件.在user_design里的rtl中,这些文件是 ...

  6. JS 面向对象之继承 -- 原型链

    ECMAScript只支持实现继承,其实现继承主要是靠原型链来实现. 原型链的基本思想是利用原型让一个引用类型继承另一个引用类型的属性和方法. 简单回顾下构造函数.原型和实例的关系: 每个构造函数都有 ...

  7. 《JavaScript高级程序设计》第3章 基本概念

    3.4 数据类型 3.4.1 typeof操作符 var message = 'some string'; console.log(typeof message); // 'string' conso ...

  8. CentOS 6.5下Git服务器搭建

    1 . Git服务器搭建 1. 环境部署 系统环境:服务器端:CentOS 6.5 ,ip:192.168.56.1 客户端:CentOS 6.5 ,ip:192.168.56.101 软件版本:服务 ...

  9. UIlabel 显示模糊

    问题: 今天遇到连续两个label一个显示的比较清楚,比较锐利,而另一个对比下有点模糊. 原因: 在使用UILabel等继承于UIView的控件时,如果frame的rect不是整数的情况下,就会显示起 ...

  10. hdu 5691 Sitting in Line 状压dp

    题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5691 题解: 和tsp用的状压差不多,就是固定了一些访问顺序. dp[i][j]表示前cnt个点中布 ...