This appendix lists the answers to the quiz questions in the Workshop sections at the end of each hour.
10. Undo reverses an action; Redo reverses an Undo.
#include "myfile.h"
#include <myfile.h>
4. A C++ namespace provides a container for a set of names. This prevents identical
names in two parts of your application from conflicting with each other.
5. To declare multiple variables on one line, separate the variable names with a
comma, like this:
int nFoo, nBar, nBaz;
10. If you know that a value will not be negative, you can double the maximum value stored in the variable by declaring it as unsigned.
10. IDNO
10. MM_TEXT
8. An overlapped image is made up of two combined image list items.
9. Use the TVI_FIRST symbol when calling CTreeCtrl::InsertItem:
m_tree.InsertItem( szLabel, 1, 1, hParent, TVI_FIRST );
9. False
10. OnEndPrinting
ResizeParentToFit( FALSE ); ResizeParentToFit();
10. CMultiDocTemplate
© Copyright, Macmillan Computer Publishing. All rights reserved.