int sPen[7]=(PS_SOLID,PS_DASH,PS_DOT,PS_DASHDOT,PS_DASHDOTDOT,PS_NULL,PS_INSIDEFRAME);
编译后报错:error C2440: 'initializing' : cannot convert from 'const int' to 'int [7]'
There are no conversions to array types, although there are conversions to references or pointers to arrays