-5
我已经宣布在Objective-C项目自定义对象数调用自定义对象:其名称中包含在Objective-C
Student* student1 = [[Student alloc]init];
Student* student2 = [[Student alloc]init];
Student* student3 = [[Student alloc]init];
Student* student4 = [[Student alloc]init];
Student* student5 = [[Student alloc]init];
Student* student6 = [[Student alloc]init];
我怎么能叫他们在周期
for (int i=1; i<=6; i++)
{
} ?
您应该使用数组这个 – Hamish
**你不要**使用数组! – luk2302