The New Data Member wizard is divided into the following steps:
1. Describe the declaration of the new data member.
2. Specify file locations for the new data member.
To use the New Data Member wizard, follow these steps:
1. Describe the declaration of the new data member.
This section of the wizard, shown in Figure 7.18, lets you specify the name, type, and initializer for the new data member. Other options are available to further describe the data member.
This section includes the following parts:
Type a name for the data member in this field.
Enter an appropriate data-member type in this field.
If desired, enter a list of namespaces required for the type in the Type field. Sample parameters are listed above the field.
New Data Member wizard - Data Member Declaration:
2. Specify file locations for the new data member.
This section of the wizard, shown in Figure 7.19, lets you specify file locations associated with the new member function.
This section includes the following parts:
This field shows you the location of the file to which the data member's declaration will be added.
This field is not available in this wizard.
This field shows you the #include file that is automatically added for the data-member type.