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. sharepoint 2010 切换域

    前提: 现在已经有一个sharepoint 2010的环境,当前域为contosoA.com,有个需求需要将这个域切换到域contosoB.com.下面是成功操作的步骤. 1.数据最重要 备份所有数据 ...

  2. UIScrowView swift

    // // ViewController.swift // UILabelTest // // Created by mac on 15/6/23. // Copyright (c) 2015年 fa ...

  3. ubuntu 下root用户无法访问声音设备的解决方案

    原因:root用户没有对pulsaudio的访问权限,而且pulsaudio默认是不能在root下自动启动解决办法: 一.修改自动启动:编辑 gedit /etc/default/pulseaudio ...

  4. 原生javascript开发仿微信打飞机小游戏

    今天闲来无事,于是就打算教一个初学javascript的女童鞋写点东西,因此为了兼顾趣味性与简易程度,果断想到了微信的打飞机小游戏.. 本来想用html5做的,但是毕竟人家才初学,连jquery都还不 ...

  5. 如何ping通两台计算机

    如何ping通两台计算机 因为ping是基于IP协议的,所以,先要保证两台计算机在同一个子网中,这里涉及到vlan和子网的概念 若两台主机不在同一个子网中则无法ping通 若两台主机在同一个子网中却p ...

  6. UVALive - 7374 Racing Gems 二维非递减子序列

    题目链接: http://acm.hust.edu.cn/vjudge/problem/356795 Racing Gems Time Limit: 3000MS 问题描述 You are playi ...

  7. ORA-12505, TNS:listener does not currently know of SID given in connect descriptor (二)

    异常及解决 在连接sqldeveloper出现的异常信息 在ORA-12505, TNS:listener does not currently know of SID given in connec ...

  8. 【BZOJ】【3261】最大异或和

    可持久化Trie 嗯……同样搞个前缀异或和,然后将x与sum异或一下,就是在[l-1,r-1]中找x^sum的最大异或值了.同样可持久化Trie搞搞即可(模板还是没背全啊……sad /******** ...

  9. 事务并发处理: DB+ORM+逻辑代码

    在学习了马士兵有关事务并发处理的视频后, 感觉对事务并发处理的概念,问题以及解决方式有了一定的了解,赶紧记录下来以备后用. 1. 事务:一系列操作要么都完成,要么一个都不完成 2. 事务并发:多个事务 ...

  10. 通过HTTP访问网络资源

    添加访问网络的权限:<uses-permission android:name="android.permission.INTERNET"/> package com. ...