Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Introduction > Conventions Used in This Book

Conventions Used in This Book

This book uses several typographic conventions to distinguish among various kinds of text:

  • Code lines, commands, statements, variables, filenames, and program output appear in a computer typeface:

    #include <iostream>
    int main()
    {
        using namespace std;
        cout << "What's up, Doc!\n";
        return 0;
    }
  • Program input that you should type appears in bold computer typeface:

    Please enter your name:
    Plato
  • Placeholders in syntax descriptions appear in an italic computer typeface. You should replace a placeholder with the actual filename, parameter, or whatever element it represents.

  • Italic type is used for new terms.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint