资源简介
c++ primer 经典课件,值得看看!!
代码片段和文件信息
/*
* 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2005-03-01 19:35 MS_files\
目录 0 2005-02-09 22:24 MS_files\1\
文件 1666 2005-02-09 20:18 MS_files\1\add.cpp
文件 1555 2005-02-09 20:18 MS_files\1\add_item.cpp
文件 1782 2005-02-09 20:18 MS_files\1\add_item2.cpp
文件 2191 2005-02-09 20:18 MS_files\1\avg_price.cpp
文件 1999 2005-02-09 20:19 MS_files\1\count.cpp
目录 0 2005-02-01 19:04 MS_files\1\data\
文件 6 2005-02-01 19:04 MS_files\1\data\add
文件 46 2005-02-01 19:04 MS_files\1\data\add_item
文件 234 2005-02-01 19:04 MS_files\1\data\book_sales
文件 9 2005-02-01 19:04 MS_files\1\data\mysum
文件 1624 2005-02-09 20:19 MS_files\1\forcount.cpp
文件 1476 2005-02-09 20:19 MS_files\1\for_ex.cpp
文件 1614 2005-02-09 20:18 MS_files\1\item_io.cpp
文件 1341 2005-02-09 20:19 MS_files\1\main_only.cpp
文件 389 2005-02-01 19:04 MS_files\1\makefile
文件 1592 2005-02-09 20:20 MS_files\1\mysum.cpp
文件 400 2005-02-01 19:04 MS_files\1\README.TXT
文件 275 2005-03-01 19:51 MS_files\1\runpgms.bat
文件 4350 2005-02-09 20:20 MS_files\1\Sales_item.h
文件 1963 2005-02-09 20:19 MS_files\1\userforcount.cpp
文件 1665 2005-02-09 20:19 MS_files\1\whilecount.cpp
目录 0 2005-02-09 21:42 MS_files\10\
文件 10369 2005-02-09 20:50 MS_files\10\3ed_query.cpp
文件 4422 2005-02-09 20:53 MS_files\10\3ed_query.h
文件 3703 2005-02-09 20:50 MS_files\10\3ed_querymain.cpp
文件 1764 2005-02-09 20:53 MS_files\10\assoc_preamble.h
目录 0 2005-02-01 17:01 MS_files\10\data\
文件 366 2005-02-01 19:02 MS_files\10\data\Alice_story
文件 12 2005-02-01 19:02 MS_files\10\data\remove_words
............此处省略363个文件信息
相关资源
- 国际象棋的qt源代码
- 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++多边形交并差运算
川公网安备 51152502000135号
评论
共有 条评论