作者hsiehdler (hsiehdler)
看板Grad-ProbAsk
标题[问题] 95海大资结-stack
时间Thu Mar 26 18:18:44 2009
Finish the C++ program for stack
Stack<int, 10> s1;
Stack<float, 20> s2;
Stack has 4 Functions
Push //insert item
Pop //remove item
isEmpty //If the numbr of items is 0 return TRUE else return FALSE
isFull // If the stack is full return TRUE else return FALSE
1.这题要 finish 的部分是哪里?
2.给两个不同型态的stack,其意义又为何?
谢谢的啦~~
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.166.228.36
1F:推 terrykyo:四个函数一定要写阿 03/26 23:49