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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.247.125