- 电子地图查询 基于mapx 在vb环境下开发的系统 实现了gis的基本操作
- HttpDownload http多线程下载的例子
- Tetris C代码版本的俄罗斯方块!适合初学c语言练习
- webbrowser Example Power Buider 10 Web Browse Link to IE
- LH2 20090512 天堂喝水輔助 神器 LineH 自動施法 自動喝水 自動變身 自動回村(Heaven water
- 飞思卡尔DX256底层驱动程序 通过CCP协议;实现飞思卡尔单片机的底层驱动编写;利用CAN卡实现;上位机的编写(The bottom; driver of Freescale MCU is compiled by CCP protocol;and the upper computer is; compiled by ;CAN card;)
文件名称:ep2
-
所属分类:
- 标签属性:
- 上传时间:2016-06-01
-
文件大小:3.38kb
-
已下载:10次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
北京理工大学面向对象程序设计第二次上机习题答案-1. Here is the codes:
#include <iostream>
using namespace std
void main()
{
cout << Hello World!\n
}
Add some codes and get the results as follows:
Initialize
Hello, World!
Clear up
NOTES: Don t modify the MAIN function any way!
2.Define an integer set class which is named Set with some memeber functions as follows:
a. IsExist(): To judge if an integer is a member of a Set or not
b. DeleteItem(): To delete an integer the Set
c. IsEqual(): To judge if two Sets are equal or not
d. Intersection(): To intersection with another Set (交集)
e. Union: To union with another Set. (并集)
NOTES:In order to complement Set class, you can define constructor, member functions with available arguments as well as destrctor if you need.
3.Create a class, IntChar, to archieve an integer to save an string which length is no more than 4.
Suppose that a character length is 1 byte.
For example: ABCD , it s binary form as
#include <iostream>
using namespace std
void main()
{
cout << Hello World!\n
}
Add some codes and get the results as follows:
Initialize
Hello, World!
Clear up
NOTES: Don t modify the MAIN function any way!
2.Define an integer set class which is named Set with some memeber functions as follows:
a. IsExist(): To judge if an integer is a member of a Set or not
b. DeleteItem(): To delete an integer the Set
c. IsEqual(): To judge if two Sets are equal or not
d. Intersection(): To intersection with another Set (交集)
e. Union: To union with another Set. (并集)
NOTES:In order to complement Set class, you can define constructor, member functions with available arguments as well as destrctor if you need.
3.Create a class, IntChar, to archieve an integer to save an string which length is no more than 4.
Suppose that a character length is 1 byte.
For example: ABCD , it s binary form as
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1120141884-刘晶晶/exper2-1.cpp
1120141884-刘晶晶/exper2-2.cpp
1120141884-刘晶晶/exper2-3.cpp
1120141884-刘晶晶/exper2-4.cpp
1120141884-刘晶晶/exper2-2.cpp
1120141884-刘晶晶/exper2-3.cpp
1120141884-刘晶晶/exper2-4.cpp
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
