資源簡介
堆棧應用題
要求:
一、 設計一個堆棧類,實現對于軟件操作中常用的撤銷/重做
(Undo/Redo)的支持。
二、 使用控制臺或者圖形界面,測試這個堆棧類的使用。

代碼片段和文件信息
#include?
#include?“f_stack.h“
void?main()
{
cout<<“——————實現對文件的普通操作——————“< cout< f_operate();
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????565357??2003-01-01?09:19??file?redo?and?undo\Debug\file?redo?and?undo.exe
?????文件?????822724??2003-01-01?09:19??file?redo?and?undo\Debug\file?redo?and?undo.ilk
?????文件????5848008??2003-01-01?09:19??file?redo?and?undo\Debug\file?redo?and?undo.pch
?????文件????1147904??2003-01-01?09:19??file?redo?and?undo\Debug\file?redo?and?undo.pdb
?????文件?????369771??2003-01-01?09:19??file?redo?and?undo\Debug\fileoperate.obj
?????文件?????205824??2003-01-01?09:41??file?redo?and?undo\Debug\vc60.idb
?????文件?????143360??2003-01-01?09:19??file?redo?and?undo\Debug\vc60.pdb
?????文件???????4483??2003-01-01?08:23??file?redo?and?undo\file?redo?and?undo.dsp
?????文件????????561??2003-01-01?08:05??file?redo?and?undo\file?redo?and?undo.dsw
?????文件??????50176??2003-01-01?10:49??file?redo?and?undo\file?redo?and?undo.ncb
?????文件??????53760??2003-01-01?10:49??file?redo?and?undo\file?redo?and?undo.opt
?????文件???????1385??2003-01-01?09:19??file?redo?and?undo\file?redo?and?undo.plg
?????文件????????152??2003-01-01?08:07??file?redo?and?undo\fileoperate.cpp
?????文件??????12933??2003-01-01?09:19??file?redo?and?undo\f_stack.h
?????目錄??????????0??2003-01-01?09:47??file?redo?and?undo\copy
?????目錄??????????0??2003-01-01?09:19??file?redo?and?undo\Debug
?????目錄??????????0??2003-01-01?09:47??file?redo?and?undo\redosave
?????目錄??????????0??2003-01-01?09:47??file?redo?and?undo\redosaveroad
?????目錄??????????0??2003-01-01?10:49??file?redo?and?undo
-----------?---------??----------?-----??----
??????????????9226398????????????????????19
評論
共有 條評論