资源简介

代码片段和文件信息
#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详尽版
相关资源
- windows下使应用程序获得管理员权限办
- C++获取计算机的CPU ID,硬盘序列号等
- C++头文件转delphi工具 + 源码
- STM32F207通过http更新固件
- BOOTloder_stm32f407
- USB转LORA无线模块
- 国际象棋的qt源代码
- C++中头文件与源文件的作用详解
- C++多线程网络编程Socket
- VC++ 多线程文件读写操作
- CCS FFT c语言算法
- 通信过程中的RS编译码程序(c语言)
- 利用C++哈希表的方法实现电话号码查
- 移木块游戏,可以自编自玩,vc6.0编写
- 3des加密算法C语言实现
- C++纯文字DOS超小RPG游戏
- 安科瑞智能电能表MODBUS通讯程序 VC6
- DES加密算法C语言实现
- 电子时钟 有C语言程序,PROTEUS仿真图
- VC++MFC小游戏实例教程(实例)+MFC类库
- C语言实现的DES对称加密算法
- DSDEMO-C演示(数据结构C语言版 严蔚敏
- 连铸温度场计算程序(C++)
- 6自由度机器人运动学正反解C++程序
- Em算法(使用C++编写)
- libstdc++-4.4.7-4.el6.i686.rpm
- VC++实现CMD命令执行与获得返回信息
- TC2.0DOSBOX
- 白话C++(全)
- C++标准库第1、2
评论
共有 条评论