Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Boost C++
  • Table Of Contents Toc
Learning Boost C++

Learning Boost C++

By : Mukherjee
4.5 (2)
close
close
Learning Boost C++

Learning Boost C++

4.5 (2)
By: Mukherjee

Overview of this book

If you are a C++ programmer who has never used Boost libraries before, this book will get you up-to-speed with using them. Whether you are developing new C++ software or maintaining existing code written using Boost libraries, this hands-on introduction will help you decide on the right library and techniques to solve your practical programming problems.
Table of Contents (14 chapters)
close
close
13
Index

Self-test questions

For multiple-choice questions, choose all options that apply:

  1. What is unique to the canonical and equivalent functions for manipulating paths?

    a. The arguments cannot name real paths.

    b. Both are namespace-level functions.

    c. The arguments must name real paths.

  2. What is the problem with the following code snippet assuming the path is of type boost::filesystem::path?
    if (is_regular_file(path)) { /* … */ }
    else if (is_directory(path)) { /* … */ }
    else if (is_symlink(path)) { /* … */ }

    a. It must have static value field.

    b. It must have an embedded type called type.

    c. It must have static type field.

    d. It must have an embedded type called result.

  3. Given this code snippet:
    boost::filesystem::path p1("/opt/boost/include/boost/thread.hpp");
    size_t n = std::distance(p1.begin(), p1.end());

    What is the value of n?

    a. 5, the total number of components in the path.

    b. 6, the total number of components in the path.

    c. 10, the sum of the number of slashes and components...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Boost C++
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon