Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "It offers one producer to one consumer (OneToOneRingBuffer
) or many producers to one consumer (ManyToOneRingBuffer
) solutions."
A block of code is set as follows:
/* Put header files here or function declarations like below */
extern int add_1(int n);
extern int add(int n, int m);
Any command-line input or output is written as follows:
>>> import math >>> math.add_1(5) 6
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: "The Load Data component (annotation 1) will help get historical data."
Tips or Important Notes
Appear like this.