官术网_书友最值得收藏!

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The variableType is going to tell you what type of data we are going to store in our variable. The variableName is the symbol we'll use to read or write that piece of memory".

A block of code is set as follows:

struct Player
{
  string name;
  int hp;
  // A member function that reduces player hp by some amount
  void damage( int amount ) {
    hp -= amount;
  }
  void recover( int amount ) {
    hp += amount;
  }
};

New terms and important words are shown in bold. Text that appears on the screen appears like this: From the File menu, select New Project...

Note

Extra information that is relevant, but kind of a side note, appears in boxes like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 海淀区| 策勒县| 定远县| 唐山市| 忻城县| 芜湖县| 惠东县| 新泰市| 新化县| 昌邑市| 高邮市| 鲜城| 大城县| 义乌市| 常山县| 竹北市| 和平县| 厦门市| 塔城市| 扎囊县| 勐海县| 长寿区| 桂阳县| 敖汉旗| 治县。| 刚察县| 岱山县| 武胜县| 溧水县| 双柏县| 三河市| 遂溪县| 丽江市| 旌德县| 桂阳县| 武定县| 中卫市| 北京市| 沁水县| 麻江县| 玛多县|