[ Viewing Hints ] [ Book Home Page ] [ Free Newsletter ] [ Seminars ] [ Seminars on CD ROM ] [ Consulting ] Annotated Solution Guide Revision 1.0 for Thinking in C++, 2nd edition, Volume 1by Chuck Allison ? 2001 MindView, Inc. All Rights Reserved.[ Previous Chapter ] [ Table of Contents ] [ Next Chapter ] Chapter 1111-1Turn the “ bird & rock” code fragment at the beginning of this chapter into a C program (using structs for the data types), and show that it compiles. Now try to compile it with the C++ compiler and see what happens. (Left to the reader) 11-2Take the code fragments in the beginning of the section titled “ References in C++” and put them into a main( ) . Add statements to print output so that you can prove to yourself that references are like pointers that are automatically dereferenced. (Left to the reader) 11-3Write a program in which you try to (1) Create a reference that is not initialized when it is created. (2) Change a reference to refer to another object after it is initialized. (3) Create a NULL reference. (Left to the reader) 11-4Write a function that takes a pointer argument, modifies what the pointer points to, and then returns the destination of the pointer as a reference. (Left to the reader) 11-5Create a class with some member functions, and make that the object that is pointed to by the argument of Exercise 4. Make the pointer a const and make some of the member functions constand prove that you can only call the const member functions inside your function. Make the argument to your function a reference instead of a pointer. (Left to the reader) 11-6Take the code fragments at the beginning of the section titled “ Pointer references...