由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - OO design for reservation system?
相关主题
请大虾验证!Scala又被鄙视了
Sort a stack without using auxiliary stacks or arraysWhat is the advantage of using make?
千老大叔学编程Opening: 3D Software and Algorithm Engineer (转载)
question on reserve()C++下如何从Yahoo Finance获得Historical Price的数据?
Anybody using Python?Restaurant Reservation System...
[合集] singleton and staticstd::string::reserve()
用delphi怎么样有人说这个办法可以解决栈溢出
大家对sqlite评价如何?问个memory leak的问题
相关话题的讨论汇总
话题: oo话题: design话题: system话题: restaraut
进入Programming版参与讨论
1 (共1页)
N**s
发帖数: 837
1
restaraut, or air tickets
anybody tell a good answer?
tthx
N*********y
发帖数: 105
2

这种问题虽然比不上“谁给个做原子弹的方子”这样的问题来的酷,但也可以算生猛无比
了!

【在 N**s 的大作中提到】
: restaraut, or air tickets
: anybody tell a good answer?
: tthx

c***c
发帖数: 21374
3
你在问什么?

【在 N**s 的大作中提到】
: restaraut, or air tickets
: anybody tell a good answer?
: tthx

f*****y
发帖数: 12
4
You can make a class named "restaurant" or "ticketbooth".
Work on some member functions such as
reserve(int i) //reserve i seats
cancel(int i) //cancel i seats
isFull() //whether it's booked up
...
You can use a link list or array, or any other data structure to
hold the data. However, each will has its own advantages and disadvantages.
I think that's the point they are asking for.

【在 N**s 的大作中提到】
: restaraut, or air tickets
: anybody tell a good answer?
: tthx

1 (共1页)
进入Programming版参与讨论
相关主题
问个memory leak的问题Anybody using Python?
C++ Interview Question[合集] singleton and static
matlab source code control?用delphi怎么样
question on reserve() in vector container.大家对sqlite评价如何?
请大虾验证!Scala又被鄙视了
Sort a stack without using auxiliary stacks or arraysWhat is the advantage of using make?
千老大叔学编程Opening: 3D Software and Algorithm Engineer (转载)
question on reserve()C++下如何从Yahoo Finance获得Historical Price的数据?
相关话题的讨论汇总
话题: oo话题: design话题: system话题: restaraut