optional Exercise 6.txt 卡耐基梅陇网站上的试题 Part* a; Part* b; a->name = name; b->name = name; 运行后老是内存报错 一定要写成 Part* a = new Part(name); Part* b = new Part(name);