[ 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 d