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故事或软件的民间传说,给读者一个改变习惯。

 

你可能感兴趣的:(IO)