【计算机类职业资格】全国计算机等级考试二级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 的返回值是指针类型的。

展开阅读全文
相关资源
猜你喜欢
  • BS EN 60099-9-2014 Surge arresters Metal-oxide surge arresters without gaps for HVDC converter stations《避雷装置 高压直流换流站无间隙金属氧化物避雷装置》.pdf BS EN 60099-9-2014 Surge arresters Metal-oxide surge arresters without gaps for HVDC converter stations《避雷装置 高压直流换流站无间隙金属氧化物避雷装置》.pdf
  • BS EN 60107-1-1997 Methods of measurement on receivers for television broadcast transmission - General considerations - Measurements on displays at radio and video frequencies《电视广播.pdf BS EN 60107-1-1997 Methods of measurement on receivers for television broadcast transmission - General considerations - Measurements on displays at radio and video frequencies《电视广播.pdf
  • BS EN 60107-2-1997 Methods of measurement on receivers for television broadcast transmission - Audio channels - General methods and methods for monophonic channels《电视广播传输接收机测量方法 第2.pdf BS EN 60107-2-1997 Methods of measurement on receivers for television broadcast transmission - Audio channels - General methods and methods for monophonic channels《电视广播传输接收机测量方法 第2.pdf
  • BS EN 60107-5-1999 Methods of measurement on receivers for television broadcast transmission - Electrical measurements on multichannel sound television receivers using the NICAM tw.pdf BS EN 60107-5-1999 Methods of measurement on receivers for television broadcast transmission - Electrical measurements on multichannel sound television receivers using the NICAM tw.pdf
  • BS EN 60107-7-1997 Methods of measurement on receivers for television broadcast transmission - HDTV displays《电视广播传输接收机测量方法 HDTV显示器》.pdf BS EN 60107-7-1997 Methods of measurement on receivers for television broadcast transmission - HDTV displays《电视广播传输接收机测量方法 HDTV显示器》.pdf
  • BS EN 60107-8-1997 Methods of measurement on receivers for television broadcast transmission - Measurements on D2-MAC packet equipment《电视广播传输接收机测量方法 第8部分 D2-MAC信息包设备测量》.pdf BS EN 60107-8-1997 Methods of measurement on receivers for television broadcast transmission - Measurements on D2-MAC packet equipment《电视广播传输接收机测量方法 第8部分 D2-MAC信息包设备测量》.pdf
  • BS EN 60110-1-1998 Power capacitors for induction heating installations - General《感应加热装置电源电容器 总则》.pdf BS EN 60110-1-1998 Power capacitors for induction heating installations - General《感应加热装置电源电容器 总则》.pdf
  • BS EN 60115-1-2011 Fixed resistors for use in electronic equipment Generic specification《电子设备用的固定电阻器 总规范》.pdf BS EN 60115-1-2011 Fixed resistors for use in electronic equipment Generic specification《电子设备用的固定电阻器 总规范》.pdf
  • BS EN 60115-2-2015 Fixed resistors for use in electronic equipment Sectional specification Leaded fixed low power film resistors《电子设备用固定电阻器 分规格 绕线固定低功率薄膜电阻器》.pdf BS EN 60115-2-2015 Fixed resistors for use in electronic equipment Sectional specification Leaded fixed low power film resistors《电子设备用固定电阻器 分规格 绕线固定低功率薄膜电阻器》.pdf
  • 相关搜索

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

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