#include <stdio.h>
#include <String.h>
struct Sweat{
char cName[20];
int iNumber;
char cColor[20];
}sweat;
int main(){
struct Sweat* pStruct;
pStruct=&sweat;
strcpy(pStruct->cName,"毛呢外套");
pStruct->iNumber=599;
strcpy(pStruct->cColor,"粉色");
printf("------the sweat's information------\n");
printf("种类:%s\n",sweat.cName);
printf("价格:%d元\n",sweat.iNumber);
printf("颜色:%s\n",sweat.cColor);
return 0;
}