C++Primer中文版(第4版) PDF + 代码,内含实例代码,经典书籍
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1666 2005-02-09 15:18 c++primer第四版代码MS_files1add.cpp
文件 1555 2005-02-09 15:18 c++primer第四版代码MS_files1add_item.cpp
文件 1782 2005-02-09 15:18 c++primer第四版代码MS_files1add_item2.cpp
文件 2191 2005-02-09 15:18 c++primer第四版代码MS_files1avg_price.cpp
文件 1999 2005-02-09 15:19 c++primer第四版代码MS_files1count.cpp
文件 6 2005-02-01 14:04 c++primer第四版代码MS_files1dataadd
文件 46 2005-02-01 14:04 c++primer第四版代码MS_files1dataadd_item
文件 234 2005-02-01 14:04 c++primer第四版代码MS_files1dataook_sales
文件 9 2005-02-01 14:04 c++primer第四版代码MS_files1datamysum
文件 1624 2005-02-09 15:19 c++primer第四版代码MS_files1forcount.cpp
文件 1476 2005-02-09 15:19 c++primer第四版代码MS_files1for_ex.cpp
文件 1614 2005-02-09 15:18 c++primer第四版代码MS_files1item_io.cpp
文件 1341 2005-02-09 15:19 c++primer第四版代码MS_files1main_only.cpp
文件 389 2005-02-01 14:04 c++primer第四版代码MS_files1makefile
文件 1592 2005-02-09 15:20 c++primer第四版代码MS_files1mysum.cpp
文件 400 2005-02-01 14:04 c++primer第四版代码MS_files1README.TXT
文件 275 2005-03-01 14:51 c++primer第四版代码MS_files1
unpgms.bat
文件 4350 2005-02-09 15:20 c++primer第四版代码MS_files1Sales_item.h
文件 1963 2005-02-09 15:19 c++primer第四版代码MS_files1userforcount.cpp
文件 1665 2005-02-09 15:19 c++primer第四版代码MS_files1whilecount.cpp
文件 22398 2006-12-21 14:35 c++primer第四版代码MS_files1whilecount.o
文件 10369 2005-02-09 15:50 c++primer第四版代码MS_files103ed_query.cpp
文件 4422 2005-02-09 15:53 c++primer第四版代码MS_files103ed_query.h
文件 3703 2005-02-09 15:50 c++primer第四版代码MS_files103ed_querymain.cpp
文件 1764 2005-02-09 15:53 c++primer第四版代码MS_files10assoc_preamble.h
文件 366 2005-02-01 14:02 c++primer第四版代码MS_files10dataAlice_story
文件 12 2005-02-01 14:02 c++primer第四版代码MS_files10data
emove_words
文件 98 2005-02-01 14:02 c++primer第四版代码MS_files10data rans-map
文件 54 2005-02-01 14:02 c++primer第四版代码MS_files10data rans-text
文件 2134 2005-02-09 15:51 c++primer第四版代码MS_files10erasemap.cpp
............此处省略370个文件信息
/*
* This file contains code from “C++ Primer Fourth Edition“ by Stanley B.
* Lippman Jose Lajoie and Barbara E. Moo and is covered under the
* copyright and warranty notices given in that book:
*
* “Copyright (c) 2005 by objectwrite Inc. Jose 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 Contracts Department
* 75 Arlington Street Suite 300
* Boston MA 02216
* Fax: (617) 848-7047
*/
#include
/* Simple main function: Read two numbers and write their sum */
int main()
{
// prompt user to enter two numbers
std::cout << “Enter two numbers:“ << std::endl;
int v1 v2;
std::cin >> v1 >> v2;
std::cout << “The sum of “ << v1 << “ and “ << v2
<< “ is “ << v1 + v2 << std::endl;
return 0;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1666 2005-02-09 15:18 c++primer第四版代码MS_files1add.cpp
文件 1555 2005-02-09 15:18 c++primer第四版代码MS_files1add_item.cpp
文件 1782 2005-02-09 15:18 c++primer第四版代码MS_files1add_item2.cpp
文件 2191 2005-02-09 15:18 c++primer第四版代码MS_files1avg_price.cpp
文件 1999 2005-02-09 15:19 c++primer第四版代码MS_files1count.cpp
文件 6 2005-02-01 14:04 c++primer第四版代码MS_files1dataadd
文件 46 2005-02-01 14:04 c++primer第四版代码MS_files1dataadd_item
文件 234 2005-02-01 14:04 c++primer第四版代码MS_files1dataook_sales
文件 9 2005-02-01 14:04 c++primer第四版代码MS_files1datamysum
文件 1624 2005-02-09 15:19 c++primer第四版代码MS_files1forcount.cpp
文件 1476 2005-02-09 15:19 c++primer第四版代码MS_files1for_ex.cpp
文件 1614 2005-02-09 15:18 c++primer第四版代码MS_files1item_io.cpp
文件 1341 2005-02-09 15:19 c++primer第四版代码MS_files1main_only.cpp
文件 389 2005-02-01 14:04 c++primer第四版代码MS_files1makefile
文件 1592 2005-02-09 15:20 c++primer第四版代码MS_files1mysum.cpp
文件 400 2005-02-01 14:04 c++primer第四版代码MS_files1README.TXT
文件 275 2005-03-01 14:51 c++primer第四版代码MS_files1
unpgms.bat
文件 4350 2005-02-09 15:20 c++primer第四版代码MS_files1Sales_item.h
文件 1963 2005-02-09 15:19 c++primer第四版代码MS_files1userforcount.cpp
文件 1665 2005-02-09 15:19 c++primer第四版代码MS_files1whilecount.cpp
文件 22398 2006-12-21 14:35 c++primer第四版代码MS_files1whilecount.o
文件 10369 2005-02-09 15:50 c++primer第四版代码MS_files103ed_query.cpp
文件 4422 2005-02-09 15:53 c++primer第四版代码MS_files103ed_query.h
文件 3703 2005-02-09 15:50 c++primer第四版代码MS_files103ed_querymain.cpp
文件 1764 2005-02-09 15:53 c++primer第四版代码MS_files10assoc_preamble.h
文件 366 2005-02-01 14:02 c++primer第四版代码MS_files10dataAlice_story
文件 12 2005-02-01 14:02 c++primer第四版代码MS_files10data
emove_words
文件 98 2005-02-01 14:02 c++primer第四版代码MS_files10data rans-map
文件 54 2005-02-01 14:02 c++primer第四版代码MS_files10data rans-text
文件 2134 2005-02-09 15:51 c++primer第四版代码MS_files10erasemap.cpp
............此处省略370个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)