class Person {}; int main(){ Person arr[10]; arr[0] = Person(); 这样就创建出一个对象 arr[0] = new Person(); 这样创建的是指针 注意 }