资源简介
数据结构与算法分析C++语言描述第四版参考答案
代码片段和文件信息
#include
using namespace std;
/**
* Figure 1.16: Implements the big five.
*/
class IntCell
{
public:
explicit IntCell( int initialValue = 0 )
{ storedValue = new int{ initialValue }; }
int read( ) const
{ return *storedValue; }
void write( int x )
{ *storedValue = x; }
private:
int *storedValue;
};
/*
* Figure 1.17.
*/
int f( )
{
IntCell a{ 2 };
IntCell b = a;
IntCell c;
c = b;
a.write( 4 );
cout << a.read( ) << endl << b.read( ) << endl << c.read( ) << endl;
return 0;
}
int main( )
{
f( );
return 0;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-03-23 15:49 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\
文件 8196 2019-03-23 15:49 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\.DS_Store
目录 0 2019-03-23 15:50 __MACOSX\
目录 0 2019-03-23 15:50 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\
文件 120 2019-03-23 15:49 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\._.DS_Store
目录 0 2013-05-19 00:43 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\
文件 10670 2012-12-04 21:43 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\AvlTree.h
目录 0 2019-03-23 15:50 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\
文件 216 2012-12-04 21:43 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\._AvlTree.h
文件 4050 2013-03-04 12:43 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\BinaryHeap.h
文件 216 2013-03-04 12:43 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\._BinaryHeap.h
文件 8219 2012-12-04 21:43 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\BinarySearchTree.h
文件 216 2012-12-04 21:43 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\._BinarySearchTree.h
文件 8679 2012-12-04 22:14 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\BinomialQueue.h
文件 216 2012-12-04 22:14 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\._BinomialQueue.h
文件 619 2012-11-17 12:36 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\BuggyIntCell.cpp
文件 216 2012-11-17 12:36 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\._BuggyIntCell.cpp
文件 1035 2012-09-15 00:21 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\CaseInsensitiveHashTable.cpp
文件 216 2012-09-15 00:21 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\._CaseInsensitiveHashTable.cpp
文件 896 2012-09-04 22:22 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\CuckooHashTable.cpp
文件 216 2012-09-04 22:22 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\._CuckooHashTable.cpp
文件 7400 2013-05-18 23:51 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\CuckooHashTable.h
文件 216 2013-05-18 23:51 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\._CuckooHashTable.h
文件 880144 2005-07-18 15:08 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\dict.txt
文件 216 2005-07-18 15:08 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\._dict.txt
文件 1192 2013-04-18 22:09 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\DisjSets.cpp
文件 216 2013-04-18 22:09 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\._DisjSets.cpp
文件 762 2005-07-05 10:57 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\DisjSets.h
文件 216 2005-07-05 10:57 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\._DisjSets.h
文件 283 2005-07-13 23:18 Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\dsexceptions.h
文件 216 2005-07-13 23:18 __MACOSX\Solution&Code for Data Structures and Algorithm Analysis in C++ 4E\code\._dsexceptions.h
............此处省略178个文件信息
- 上一篇:C++ 拼音输入法
- 下一篇:c++文档MSDN详尽版
相关资源
- c++文档MSDN详尽版
- C++ 拼音输入法
- 用vc++6.0实现的银行账户管理系统
- 数据结构课程实验C++实现的银行系统
- vc6.0编程助手Visual_AssistX(含破解补丁
- C/C++语言大作业、小游戏
- c++ 帮助手册 chm
- 番茄助手vc++6.0+破解版
- C-C++与数据结构(王立柱清华大学出版
- 基于DirectShow的MFC视频播放器
- Hoo WinTail 最新版本(v4.2.982)破解补丁
- 图像处理方面学习的好MFC显示直方图
- Microsoft Visual C++ 2013 Redistributable X64
- 虹膜识别VC++源程序
- C++ MFC ATM系统
- Expert Visual C++_CLI.pdf
- 隐马尔可夫模型C和C++实现
- C++ 程序设计语言 (特别版)答案
- 数学形态学中腐蚀与膨胀的C++实现源
- 《Visual C++ MFC棋牌类游戏编程》配套光
- VC++MFC模拟四部电梯程序
- C++实现GMM源码
- 基于Visual C++/Access实现的学生宿舍管理
- Visual C++.NET图像处理编程源代码 陆宗
- c++ MFC 通讯录 源代码
- Visual Studio 2010 Express 学习版
- Linux多线程服务端编程:使用muduo C+
- 简易防火墙使用C++与Qt4.5带源代码
- 数据库课程设计 - 汽车租借信息系统
- VC++课程设计 计算器
评论
共有 条评论