isEmpty
此方法會判定堆疊是否為空的。
可見性
Public
簽章
int isEmpty() const
傳回
此方法會傳回下列其中一項值:
0
- 堆疊不是空的。
1
- 堆疊是空的。
上層主題:
OMStack 類別
回饋