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. 10个 iOS 用户暂可以嘲笑 Android 的特点

    Android 与 iOS 设备之间的争斗从未停止,毕竟一切高科技产品的理念和实际表现方式都不相同.就拿 Android 来说,很多功能令用户并 不太开心,甚至是令人愤怒,下面让我们来简单的盘点 10 ...

  2. 关于Swift中实现Lazy initialize的方式

    在oc中我们通过 -(CardMatchingGame *)game { if(!_game) _game=[[CardMatchingGame alloc] initWithCardCount:[s ...

  3. 使用git客户端获取shiro

    1.进入下载的目标文件夹右键( Git Bash Here )

  4. Linux 前台 和 后台进程 说明

    一. 有关进程的几种常用方法 1.1  & 符号 在命令后面加上一个 & 符号,表示该命令放在后台执行,如: [oracle@singledb ~]$ crontab -l 20 17 ...

  5. 事后分析报告(M1阶段)

    我们的项目是自选项目,一款名为备忘录锁屏MemoryDebris的软件. 因为我们组成员在此之前都没有接触过安卓开发,于是在第一阶段花了很大的时间和精力学习安卓.又花费了较长一段时间设计软件与研究安卓 ...

  6. Careercup - Google面试题 - 5162732873580544

    2014-05-08 08:26 题目链接 原题: Given a preorder traversal, create a binary search tree in optimized time ...

  7. 前端之JavaScript第一天学习(3)-JavaScript输出

    JavaScript 通常用于操作 HTML 元素. 操作 HTML 元素 如需从 JavaScript 访问某个 HTML 元素,您可以使用 document.getElementById(id) ...

  8. PCA算法

    本文出处:http://blog.csdn.net/xizhibei http://www.cnblogs.com/bourneli/p/3624073.html PrincipalComponent ...

  9. android 自动化压力测试-monkey 2 获取程序包名

    monkey 1 中我们写到: C:\Users\chenshan>adb shell shell@hwG750-T20:/ $ monkey -p cn.emoney.acg -v 500 说 ...

  10. java list中的对象,按对象某属性排序

    1:对象类 需要 实现: public class TreeNode extends BaseBean implements Comparable <TreeNode> { private ...