Some examples from the text C++ primer.