感觉超简单但就是有错--郁闷--想痛哭
#include<iostream>using namespace std;
struct Customer
{
char lastName[15];
char firtName[15];
int customerNumber;
struct
{
char phoneNumber[11];
char address[50];
char city[15];
char state[30];
char zipCode[7];
} personal;
} customerRecord={"lu","hengfa"},*customerPtr;
customerPtr=&customerRecord;
void main()
{
cout<<customerRecord.lastName<<customerPtr->lastName
<<customerRecord.firtName<<endl;
}