In this book, you will find a number of text styles 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:
"Remember that this library is not only a header, so your program has to link against the libboost_program_options library".
A block of code is set as follows:
#include <boost/program_options.hpp>
#include <iostream>
namespace opt = boost::program_options;
int main(int argc, char *argv[])
{
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
#include <boost/program_options.hpp>
#include <iostream>
namespace opt = boost::program_options;
int main(int argc, char *argv[])
Any command-line input or output is written as follows:
$ ./our_program.exe --apples=10 --oranges=20
Fruits count: 30
New terms and important words are shown in bold.
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.