- 26
- 0
- 约1.56万字
- 约 29页
- 2018-01-05 发布于河南
- 举报
C程序设计教程--面向对象分册(郑秋生)第一二三四章答案
第1章类和对象选择题1.C 2.B 3.C 4.A 5.C6.A 7.C 8 C9A10 C二、阅读题1.x=2,y=32.x=2,y=3x!=y3.Cstatic::va1=0cs1.vaI=1cs2.val=2cs1.val=4cs2.vaI=4四、改错题#include string.h#include iostream.hclass person {public: person(int n,char* nam,char s) { num=n; strcpy(name,nam); sex=s; coutConstructor called.endl; } ~person( ) { coutDestructor called.endl; } void display( ) { coutnum: numendl; coutname: nameendl; coutsex: sexendlendl; } priva
您可能关注的文档
- java基础试题二.doc
- matlab考试题_2009-2010-2.doc
- 高中数学:1.1.1《算法的概念》课件(新人教B版必修3)1.ppt
- JAVA期末复习题二.doc
- 08年3月广州远程教育中心JAVA开发题2.doc
- 2012年(下)水平考(JAVA语言)复习.doc
- 复习课件unit2topic1sectionA--D.ppt
- 人教版九年级Unit10 By the time i got outside, the bus had already left. Section B (3a-4).ppt
- 八年级英语上册unit5Do you want to watch a game show setion B 课件 PPT.ppt
- java实验教案2011(上).doc
原创力文档

文档评论(0)