C++ Primer第五版 源代码


C++ primer的源代码;C++ primer的源代码;C++ primer的源代码
资源截图
代码片段和文件信息
/*
 * 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;
}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-04-09 21:49  primer源代码
     目录           0  2017-04-09 21:50  primer源代码GCC_4_7_0
     文件      463485  2017-04-09 21:48  primer源代码GCC_4_7_0.zip
     目录           0  2017-04-09 21:50  primer源代码GCC_4_7_01
     目录           0  2017-04-09 21:50  primer源代码GCC_4_7_010
     文件        2378  2012-08-09 16:27  primer源代码GCC_4_7_010absInt.cc
     文件        2541  2012-08-09 16:27  primer源代码GCC_4_7_010accum.cc
     文件        1550  2012-08-09 16:27  primer源代码GCC_4_7_010accum4.cc
     文件        2177  2012-08-09 16:27  primer源代码GCC_4_7_010avg_price.cc
     文件        2244  2012-08-09 16:27  primer源代码GCC_4_7_010ind2.cc
     目录           0  2012-08-09 16:27  primer源代码GCC_4_7_010data
     文件          50  2012-08-09 16:27  primer源代码GCC_4_7_010dataabsInt
     文件          69  2012-08-09 16:27  primer源代码GCC_4_7_010dataaccum
     文件         224  2012-08-09 16:27  primer源代码GCC_4_7_010dataook_sales
     文件          49  2012-08-09 16:27  primer源代码GCC_4_7_010datacount-size
     文件          44  2012-08-09 16:27  primer源代码GCC_4_7_010dataiostream_iter
     文件          51  2012-08-09 16:41  primer源代码GCC_4_7_010dataoutFile1
     文件          46  2012-08-09 16:41  primer源代码GCC_4_7_010dataoutFile2
     文件          18  2012-08-09 16:27  primer源代码GCC_4_7_010data
comma
     文件         685  2012-08-09 16:27  primer源代码GCC_4_7_010data
eadme
     文件          10  2012-08-09 16:27  primer源代码GCC_4_7_010data
everse-iter
     文件           9  2012-08-09 16:27  primer源代码GCC_4_7_010datause_find
     文件        3181  2012-08-09 16:27  primer源代码GCC_4_7_010elimDups.cc
     文件        1832  2012-08-09 16:27  primer源代码GCC_4_7_010equal.cc
     文件        1653  2012-08-09 16:27  primer源代码GCC_4_7_010equiv-istream-iter.cc
     文件        2273  2012-08-09 16:27  primer源代码GCC_4_7_010inserters.cc
     文件        2307  2012-08-09 16:27  primer源代码GCC_4_7_010iostream_iter.cc
     文件        2868  2012-08-09 16:27  primer源代码GCC_4_7_010lambda.cc
     文件         540  2012-08-09 16:27  primer源代码GCC_4_7_010makefile
     文件        4667  2012-08-09 16:27  primer源代码GCC_4_7_010
ewcount-size.cc
     文件        1839  2012-08-09 16:27  primer源代码GCC_4_7_010ostreamIter2.cc
............此处省略1909个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)