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. WIN7笔记本利用命令AP热点

    第一步:以管理员身份运行命令提示符:开始”---搜索栏输入“cmd----右键以“管理员身份运行”自己随便命名,第二步:运行命令:netsh wlan set hostednetwork mode=a ...

  2. 通过HTML5获取当前位置

    // 当前位置 function getLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPositi ...

  3. 断点续传 (HTTP) 归纳

    由于最近项目中要上传较大的文件,基于公司原有的底层框架的局限性,对于大文件的传输都束手无策,基于文件传输的安全性,考虑用断点续传(HTTP)以及FTP上传两种方式实现下面归纳下HTTP续传和FTP上传 ...

  4. 【Anagrams】 cpp

    题目: Given an array of strings, return all groups of strings that are anagrams. Note: All inputs will ...

  5. 用setTimeout 代替 setInterval实时拉取数据

    在开发中,我们常常碰到需要定时拉取网站数据,如: setInterval(function(){ $.ajax({ url: 'xx', success: function( response ){ ...

  6. word检视意见导出(VBA)

    Private Sub CommandButton1_Click() 'Dim Cmt As Comment Dim excelApp As Object Dim xlsWbk, objWdApp A ...

  7. ansii、unicode、utf8 区别和关系

    本地化过程中涉及到源文件和目标文件的传输问题,这时候编码就显得很重要.中文的网页和操作系统中通常采用ANSI编码,这也是微软OS的一个字符标准.对于ANSI,不同的国家和地区制定了不同的标准,由此产生 ...

  8. Poj 1904 King's Quest 强连通分量

    题目链接: http://poj.org/problem?id=1904 题意: 有n个王子和n个公主,王子只能娶自己心仪的公主(一个王子可能会有多个心仪的公主),现已给出一个完美匹配,问每个王子都可 ...

  9. MyEclipse2015 编写js报 'Calculating completion proposals..' has encountered a problem.

    前言:编写js(按点后)弹出这个鬼东西,百度不到..估计是破解有问题.只有换版本了. 版本:MyEclipse 2015 stable 1.0 详细错误信息 解决:换成2.0版本

  10. poj 1985 Cow Marathon 树的直径

    题目链接:http://poj.org/problem?id=1985 After hearing about the epidemic of obesity in the USA, Farmer J ...