[問題] 95海大資結-stack

看板Grad-ProbAsk作者 (hsiehdler)時間15年前 (2009/03/26 18:18), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/2 (看更多)
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

03/26 23:49, , 1F
四個函數一定要寫阿
03/26 23:49, 1F
文章代碼(AID): #19orQ5m_ (Grad-ProbAsk)
文章代碼(AID): #19orQ5m_ (Grad-ProbAsk)