1. "Categories.h": "typedef vector<Category*> Container;" change to "typedef map<int, Category*> Container;"
Reseaon: Because all Category objects' identificationa are different.
2. "Categories.cpp": All the "push_back" functions are changed to the "insert" functions.
3. "Category.h": "vector<Catetory*> sub_categories" change to "map<string, Category*> sub_categories"
"vector<int> items" change "set<int> items"
4. "Category.cpp": All the functins with the form of vector are changed.
5. "Group.h": "vector<Client*>" change to "map<string, Client*>
Reseaon:A client has only email. We can map email to a client object.
6. "Group.cpp": All the functins with the form of vector are changed.
7. "Client.h": "vector<int> offerings" change to "set<int> offerings"
"vector<int> bids" change to " set<int> bids"
Reseaon:The two sets can only contain an advertisement once.
8. "Client.cpp":All the functins with the form of vector are changed.
没有合适的资源?快使用搜索试试~ 我知道了~
answer-ssd5.rar
共314个文件
h:75个
cpp:74个
obj:65个
需积分: 0 28 下载量 4 浏览量
2009-11-01
21:26:56
上传
评论
收藏 7.62MB RAR 举报
温馨提示
ssd5从练习1到练习6,考试1到考试3的答案全有,是攻城略地拿高分的首选,呵呵!
资源推荐
资源详情
资源评论
收起资源包目录
answer-ssd5.rar (314个子文件)
Script1.aps 17KB
main.bsc 25KB
buildpage.cpp 12KB
buildpage.cpp 11KB
buildpage.cpp 10KB
buildpage.cpp 9KB
buildpage.cpp 7KB
Advertisement.cpp 6KB
processrequest.cpp 6KB
processrequest.cpp 5KB
processrequest.cpp 4KB
main.cpp 4KB
Shortest.cpp 4KB
Shortest.cpp 4KB
buildbidpage.cpp 4KB
Category.cpp 4KB
processrequest.cpp 4KB
Date.cpp 4KB
Category.cpp 3KB
Category.cpp 3KB
Advertisement.cpp 3KB
main.cpp 3KB
main.cpp 3KB
main.cpp 3KB
main.cpp 3KB
Date.cpp 3KB
Date.cpp 3KB
Listing.cpp 3KB
Date.cpp 3KB
Category.cpp 3KB
main.cpp 3KB
processrequest.cpp 3KB
Advertisement.cpp 3KB
Date.cpp 3KB
Date.cpp 3KB
Advertisement.cpp 3KB
Advertisement.cpp 2KB
Advertisement.cpp 2KB
testdate.cpp 2KB
Client.cpp 2KB
Client.cpp 2KB
Bid.cpp 2KB
buildbidpage.cpp 2KB
Listing.cpp 2KB
Client.cpp 2KB
Client.cpp 2KB
Shortest.cpp 2KB
Client.cpp 2KB
Bid.cpp 2KB
Client.cpp 1KB
Client.cpp 1KB
CategoryHierarchy.cpp 1KB
Category.cpp 1KB
Bid.cpp 1KB
Categories.cpp 1KB
Group.cpp 1KB
SortBy.cpp 1012B
buildpathpage.cpp 995B
Categories.cpp 842B
Categories.cpp 772B
Categories.cpp 772B
Group.cpp 721B
Group.cpp 721B
car.cpp 645B
bidhistory.cpp 640B
Group.cpp 631B
Group.cpp 629B
Advertisement.cpp 605B
Listing.cpp 525B
Group.cpp 495B
Listing.cpp 478B
Listing.cpp 478B
Client.cpp 472B
CopyByKeyword.cpp 391B
CopyByKeyword.cpp 0B
SortBy.cpp 0B
main.dsp 5KB
main.dsp 5KB
main.dsp 5KB
main.dsp 5KB
D5E1.dsp 5KB
main.dsp 4KB
main.dsp 3KB
Date.dsp 3KB
main.dsw 531B
main.dsw 531B
main.dsw 531B
main.dsw 531B
main.dsw 531B
Date.dsw 516B
D5E1.dsw 516B
main.dsw 516B
main.exe 844KB
main.exe 820KB
main.exe 740KB
main.exe 700KB
main.exe 660KB
main.exe 588KB
D5E1.exe 588KB
enhancedsafearray.h 2KB
共 314 条
- 1
- 2
- 3
- 4
资源评论
nwpuzc
- 粉丝: 1
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功