资源简介
c++primer第五版是入门c++广为人知的著述,笔者也因此学习。
但是本书的源代码所在的官方网站已经失效,因此经过查找,将本书的源代码资源提供给各位学友,谢谢!

代码片段和文件信息
/*
* This file contains code from “C++ Primer Fifth Edition“ by Stanley B.
* Lippman Josee Lajoie and Barbara E. Moo and is covered under the
* copyright and warranty notices given in that book:
*
* “Copyright (c) 2013 by objectwrite Inc. Josee Lajoie and Barbara E. Moo.“
*
*
* “The authors and publisher have taken care in the preparation of this book
* but make no expressed or implied warranty of any kind and assume no
* responsibility for errors or omissions. No liability is assumed for
* incidental or consequential damages in connection with or arising out of the
* use of the information or programs contained herein.“
*
* Permission is granted for this code to be used for educational purposes in
* association with the book given proper citation if and when posted or
* reproduced.Any commercial use of this code requires the explicit written
* permission of the publisher Addison-Wesley Professional a division of
* Pearson Education Inc. Send your request for permission stating clearly
* what code you would like to use and in what specific way to the following
* address:
*
* Pearson Education Inc.
* Rights and Permissions Department
* One Lake Street
* Upper Saddle River NJ 07458
* Fax: (201) 236-3290
*/
#include
int main()
{
// prompt user to enter two numbers
std::cout << “Enter two numbers:“ << std::endl;
int v1 = 0 v2 = 0;
std::cin >> v1 >> v2;
std::cout << “The sum of “ << v1 << “ and “ << v2
<< “ is “ << v1 + v2 << std::endl;
return 0;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3370 2012-08-09 16:24 6\arrRet.cpp
文件 1618 2012-08-09 16:24 6\count-calls.cpp
文件 4 2012-08-09 16:24 6\data\mainmath
文件 71 2012-08-09 16:24 6\data\refparms
文件 5265 2012-08-09 16:24 6\errMsg_initList.cpp
文件 1627 2012-08-09 16:24 6\fact.cpp
文件 2814 2012-08-09 16:24 6\fcnptrRet.cpp
文件 1848 2012-08-09 16:24 6\good_printmain.cpp
文件 1962 2012-08-09 16:24 6\inline_shorter.cpp
文件 2019 2012-08-09 16:24 6\LocalMath.cpp
文件 1635 2012-08-09 16:24 6\LocalMath.h
文件 1796 2012-08-09 16:24 6\mainmath.cpp
文件 1716 2012-08-09 16:24 6\mainret.cpp
文件 714 2012-08-09 16:24 6\makefile
文件 1737 2012-08-09 16:24 6\make_plural.h
文件 1648 2012-08-09 16:24 6\mk_plural.cpp
文件 1865 2012-08-09 16:24 6\printFcns.h
文件 305 2012-08-09 16:24 6\README.txt
文件 1735 2012-08-09 16:24 6\ref-fcn.cpp
文件 3851 2012-08-09 16:24 6\refparms.cpp
文件 1764 2012-08-09 16:24 6\refret-ex.cpp
文件 2419 2012-08-09 16:24 6\reset.cpp
文件 334 2012-08-09 16:24 6\runpgms.bat
文件 2456 2012-08-09 16:24 6\stl-arr-fcns.cpp
文件 2350 2012-08-09 16:24 6\usefcnptr.cpp
文件 1839 2012-08-09 16:24 6\use_mk_plural.cpp
文件 2790 2012-08-09 16:47 6\wdebug.cpp
文件 1594 2012-08-09 16:24 7\Account.cpp
文件 2280 2012-08-09 16:24 7\Account.h
文件 1871 2012-08-09 16:24 7\add_item.cpp
............此处省略447个文件信息
相关资源
- C++中头文件与源文件的作用详解
- C++多线程网络编程Socket
- VC++ 多线程文件读写操作
- 利用C++哈希表的方法实现电话号码查
- 移木块游戏,可以自编自玩,vc6.0编写
- C++纯文字DOS超小RPG游戏
- VC++MFC小游戏实例教程(实例)+MFC类库
- 连铸温度场计算程序(C++)
- 6自由度机器人运动学正反解C++程序
- Em算法(使用C++编写)
- libstdc++-4.4.7-4.el6.i686.rpm
- VC++实现CMD命令执行与获得返回信息
- 白话C++(全)
- C++标准库第1、2
- 大数类c++大数类
- C++语言编写串口调试助手
- c++素数筛选法
- C++ mqtt 用法
- 商品库存管理系统 C++ MFC
- c++ 多功能计算器
- C++17 In Detail
- 嵌入式QtC++编程课件
- 颜色识别形状识别STM103嵌入式代码
- c++ 邮件多附件群发
- c++ 透明代理(hookproxy)
- mfc 调用redis
- FTP客户端源码(c++)
- c++ 画图(14Qt-XPS)
- c++多边形交并差运算
- VC++基于OpenGL模拟的一个3维空间模型
评论
共有 条评论