class A...{ public: A():a(0)...{ cout<<a; } A(int t):a(t)...{ cout<<a; } int a; }; void main()...{ int p=3; A arr[2]=...{A(),A()}; A brr[2]=...{A(1),A(2)}; int n=1; A *a =new A[n]; }
类数组:class A...{public: A():a(0)...{ couta; } A(int t):a(t)...{ couta; } int a;};void main()...{ int p=3; A arr[2]=...{A(),A()}; A brr[2]=...{A(1),A(2)}; in