【计算机类职业资格】全国计算机等级考试二级C++上机题库试卷五2013年及答案解析.doc

上传人:terrorscript155 文档编号:1329617 上传时间:2019-10-17 格式:DOC 页数:2 大小:31.50KB
下载 相关 举报
【计算机类职业资格】全国计算机等级考试二级C++上机题库试卷五2013年及答案解析.doc_第1页
第1页 / 共2页
【计算机类职业资格】全国计算机等级考试二级C++上机题库试卷五2013年及答案解析.doc_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

全国计算机等级考试二级 C+上机题库试卷五 2013 年及答案解析(总分:3.00,做题时间:90 分钟)1.改错题 使用 VC6 打开考生文件夹下的工程 kt10_1,此工程包含一个源程序文件 kt10_1.cpp,但该程序运行有问题,请改正程序中的错误,使程序的输出结果为: classBase classD1 classD2 classD3 finBase 源程序文件 kt10_1.cpp 清单如下: #include classBase public: Base()coutn; coutgetpay(); coutn; coutgetpay(); coutputname(name); (emp+code)-putpay(pay); (4)char c50; double money;)解析:本题考查类成员的定义、类成员函数的定义与调用、对象数组的使用。注意指针和动态申请空间new 的使用方法。使用指针调用成员应该用“-“符号,new 的返回值是指针类型的。

展开阅读全文
相关资源
猜你喜欢
  • SIS SS IEC 486-1985 Acoustics - Precision method for free-field calibration of one-inch standard condenser microphones by the reciprocity technique《音响效果 采用互易技术进行的1英寸标准电容器麦克风自由场精确校准.pdf SIS SS IEC 486-1985 Acoustics - Precision method for free-field calibration of one-inch standard condenser microphones by the reciprocity technique《音响效果 采用互易技术进行的1英寸标准电容器麦克风自由场精确校准.pdf
  • SIS SS IEC 487-1989 Radio equipment  Methods of measurements for equipment usedin terrestrial radio-relay systems《无线电设备 陆地无线电中继系统设备测量方法》.pdf SIS SS IEC 487-1989 Radio equipment Methods of measurements for equipment usedin terrestrial radio-relay systems《无线电设备 陆地无线电中继系统设备测量方法》.pdf
  • SIS SS IEC 493-1982 Guide for the statistical analysis of ageing test data《老化试验数据统计分析指南》.pdf SIS SS IEC 493-1982 Guide for the statistical analysis of ageing test data《老化试验数据统计分析指南》.pdf
  • SIS SS IEC 500-1985 Acoustics - IEC standard hydrophone《音响效果 IEC标准水准器》.pdf SIS SS IEC 500-1985 Acoustics - IEC standard hydrophone《音响效果 IEC标准水准器》.pdf
  • SIS SS IEC 504-1986 Nuclear instrumentation - Hand and I or foot contamination monitors and warning assemblies《核检测仪表 手和 或足污染监测器及报警装置》.pdf SIS SS IEC 504-1986 Nuclear instrumentation - Hand and I or foot contamination monitors and warning assemblies《核检测仪表 手和 或足污染监测器及报警装置》.pdf
  • SIS SS IEC 506-1982 Insulators  High-voltage insulators  Switching impulse tests《绝缘体 高压绝缘体 转换脉冲测试》.pdf SIS SS IEC 506-1982 Insulators High-voltage insulators Switching impulse tests《绝缘体 高压绝缘体 转换脉冲测试》.pdf
  • SIS SS IEC 51-1988 Electrical measuring instruments  Direct acting indicating analogue electrical measuring instruments and their accessories《电气测量仪 直接动作指示模拟电气测量仪及附件》.pdf SIS SS IEC 51-1988 Electrical measuring instruments Direct acting indicating analogue electrical measuring instruments and their accessories《电气测量仪 直接动作指示模拟电气测量仪及附件》.pdf
  • SIS SS IEC 510-1989 Radio equipment  Methods of measurement for radio equipment usedin sate lite earth stations《无线电设备 人造卫星地球站无线电设备测量方法》.pdf SIS SS IEC 510-1989 Radio equipment Methods of measurement for radio equipment usedin sate lite earth stations《无线电设备 人造卫星地球站无线电设备测量方法》.pdf
  • SIS SS IEC 516-1986 Nuclear instrumentation - A modul r instrumentation system for data handling CAMAC system《 核检测仪表 数据处理用模块化仪表系统;CAMAC系统》.pdf SIS SS IEC 516-1986 Nuclear instrumentation - A modul r instrumentation system for data handling CAMAC system《 核检测仪表 数据处理用模块化仪表系统;CAMAC系统》.pdf
  • 相关搜索

    当前位置:首页 > 考试资料 > 职业资格

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1