DOCUMENT:Q314756  16-APR-2002  [mspress]
TITLE   :Microsoft Visual C++ .NET Step by Step Comments and Corrections
PRODUCT :Microsoft Press
PROD/VER::
OPER/SYS:
KEYWORDS:kbdocfix kbdocerr

======================================================================
-------------------------------------------------------------------------------
The information in this article applies to:

 - MSPRESS Microsoft Visual C++.NET Step By Step ISBN 0-7356-1567-5 
-------------------------------------------------------------------------------

SUMMARY
=======

This article contains comments, corrections, and information about known errors
relating to the Microsoft Press book Microsoft Visual C++ .NET Step by Step,
ISBN 0-7356-1567-5.

The following topics are covered:

 - Page 24: Error In Code Sample

 - Page 28: Incorrect Output In Screenshot

MORE INFORMATION
================

Page 24: Error In Code Sample
-----------------------------

There is an error in the code sample on page 24, step 12. Change:

   void SetName(String *Name)
     { strName->Copy(Name);};
   String* GetName() { return strName; };

To:

   void SetName(String *Name)
     { strName = strName->Copy(Name);};
   String* GetName() { return strName; };


Page 28: Incorrect Output In Screenshot
---------------------------------------

The screenshot on page 28 is missing information. If the build is successful, the
results will not be what is shown:

   Animal 1
   Name:
   Legs: 4

   Animal 2
   Name:
   Legs: 4

But rather:

   Animal 1
   Name: Cat
   Legs: 4

   Animal 2
   Name: Dog
   Legs: 4


Microsoft Press is committed to providing informative and accurate books. All
comments and corrections listed above are ready for inclusion in future
printings of this book. If you have a later printing of this book, it may
already contain most or all of the above corrections.

Additional query words: 0-7356-1567-5 Templeman Olsen EUBOOK EUSBS VSTUDIO VC

======================================================================
Keywords          : kbdocfix kbdocerr 
Technology        : kbMSPressSearch
Version           : :
Issue type        : kbinfo

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 2002.