参考答案:
(1)Document* (2分)
(2)aDocument (1分)
(3)!canOpenDocument(docName) (2分)
(4)Document* (2分)
(5)doCreateDocument() (2分)
(6)adoc->open(docName) (2分)
(7)adoc->read(docName) (2分)
(8)addDocument(adoc) (2分)
详细解析: