为什么VC不行#include <string.h>class student{ char name[33];public:student() {}student (char *p){strcpy(name,p);name[sizeof(name)-1]='\0';}};#include <iostream.h>void(){student st[2]("zhang","lisi"); }
为什么不能用()初始化而是=