- 39
- 0
- 约6.44千字
- 约 20页
- 2017-08-16 发布于河南
- 举报
c期末复习(程序填空题)1(Cfinalreview(fillintheblanks)1)
c++期末复习(程序填空题)1(C++ final review (fill in the blanks) 1)
C++ final review (cloze)
1. Fill in the appropriate lines at the bottom line and complete the definition of the member functions in the class.
Class A{
Int * a;
Public:
A (int, aa=0) {
A=_________; / / dynamic object is initialized with AA to a
}
~ (A) {_________}// release dynamic storage space;
};
Answer: new, int (AA), delete, a
2. Here is a function template for calculating the sum of two vectors. Complete the function template definition by filling in the appropriate lines at the bottom line.
Include iostream.h
Templateclass T
T* f
您可能关注的文档
- 23《称象》教学设计之四(23 as teaching design four).doc
- 28_小伙伴的教学反思3(Reflections on the teaching of 28_ buddy 3).doc
- 24《东方之珠》(24 the Oriental Pearl ).doc
- 23《美丽的小兴安岭》教学设计之九(23 beautiful little Xingan Ling teaching design nine).doc
- 2d游戏设计浅谈(Discussion on game design 2D).doc
- 2到3岁宝宝语言学习游戏(2 to 3 years old baby language learning games).doc
- 2d网络游戏排行榜排行(2D online game Ranking Ranking).doc
- 2春雨的色彩教学反思(Reflection on the 2 spring color teaching).doc
- 2b论文(2B paper).doc
- 3 2011年6月25日电子商务员考证理论真题答案(June 25, 32011 Electronic Commerce member theory research Zhenti answer).doc
- 【宏观专题】十大指标看新旧交接:显性的转型-260416-华创证券-15页.pdf
- 中诚信 -资产支持票据产品报告(2026年一季度).pdf
- 【铜专题20260414】:中东冲突持续造成供应扰动加大.pdf
- 【银河期货】天然气周报-地缘局势反复,短期价格跟随市场情绪波动-20260417.pdf
- 中国船级社CCS:散装运输危险液体化学品船舶构造与设备规范2022修改通报.pdf
- 中国船级社CCS:液化天然气甲醇燃料加注趸船规范2025.pdf
- 2016 年生物遗产图书馆项目主任报告 2016 BHL Program Director's Report.ppt
- 中诚信-地方政府债与城投行业监测周报 2026 年第 10 期 央企利润上缴比例最高提升至35%,2万亿置换进度完成近五成.pdf
- 中国船级社CCS:材料与焊接规范 2025.pdf
- 中国船级社CCS:高锰奥氏体低温钢应用指南 2025年第1次变更通告.pdf
原创力文档

文档评论(0)