stack 棧,一種後進先出的數據結構,在c++ stl裏作爲容器適配器,string,vector ... 棧頂元素 d.pop(); //刪除棧頂元素 cout << x << endl; cout << d.top() << endl; ...
確定! 回上一頁