![]() |
|
|
Регистрация Восстановить пароль |
Регистрация | Задать вопрос |
Заплачу за решение |
Новые сообщения |
Сообщения за день |
Расширенный поиск |
Правила |
Всё прочитано |
![]() |
|
Опции темы | Поиск в этой теме |
![]() |
#1 |
Новичок
Джуниор
Регистрация: 01.11.2009
Сообщений: 1
|
![]()
Ребята помоги написать прогу, вот задание и это на завтра....
Use two queues to implement a stack C++ with the following functions: push(x) : insert the item x to the top of the stack pop() : delete the most recently inserted item from the stack top() : display the top stack item (no pop() operation) display() : sequentially display all items in the stack,(no pop() operation) Note Do not use Standard Template Library (STL) in this assignment. In other words, implement the queue operations (i.e. euqueue(), dequeue(), etc.),and these operations are then used to simulate the behavior of a stack. For simplicity, this stack only accepts items of an Integer data type. The main program will take the command-line arguments: input filename and output filename. Кто может помочь? |
![]() |
![]() |
![]() |
![]() |
||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Stack Overflow | Neeter | БД в Delphi | 2 | 03.06.2009 00:39 |
Stack OverFlow | Tanya2008 | Общие вопросы Delphi | 6 | 11.05.2009 15:16 |
Помогите со Stack | МаксMorfey | Помощь студентам | 0 | 10.05.2009 16:37 |
STACK и QUEUE | vo_sa | Общие вопросы C/C++ | 3 | 25.03.2009 11:45 |
Stack Overflow??? | Рустам | Общие вопросы Delphi | 7 | 01.04.2008 17:24 |