{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

21世纪高等院校计算机应用规划教材:C++程序设计案例教材

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

21世纪高等院校计算机应用规划教材:C++程序设计案例教材

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

一个完整应用案例——水果超市管理系统贯穿各章,按照应用系统的开发步骤对该系统进行分模块讲解,充分展示面向对象的编程思想与方法
详细介绍C++语言的基本概念,重点叙述面向对象程序设计的特征:封装性(类和对象)、继承性和多态性
分析教学中易出现的问题及遇到的困难
适用对象
·高等院校计算机、电子信息及信息管理等相关专业
·计算机培训学校
·程序设计自学人员
Content Description

《C++程序设计案例教程》首先简单介绍了面向对象程序设计的基本概念,然后全面系统讲解C++语言的基本语法和编程方法以及C++语言面向对象的重要特征(类和对象、继承和派生类、多态性和虚函数)等,最后介绍ACM-ICPC实训平台的基本使用方法。《C++程序设计案例教程》内含丰富的例题和习题,便于读者学习和巩固知识。
《C++程序设计案例教程》可作为高等院校计算机、电子信息及信息管理等相关专业“C++程序设计”课程的教材,也可供初学者自学使用。
Catalogue

第1章 C++程序设计概述
1.1 C++语言的历史和演进
1.1.1 计算机语言的发展
1.1.2 C++语言的产生
1.1.3 C++语言的主要版本
1.2 C+4语言的特点
1.2.1 面向过程
1.2.2 面向对象
1.3 面向对象的相关概念
1.4 C++程序的基本结构和开发环境
1.4.1 C++程序的基本结构
1.4.2 C++程序的实现
1.4.3 C++程序的开发环境
习题

第2章 C++语言基础
2.1 基本数据类型
2.2 标识符与关键字
2.3 常量与变量
2.3.1 常量
2.3.2 变量
2.4 运算符与表达式
2.4.1 运算符
2.4.2 表达式
2.5 数组
2.5.1 数组的定义
2.5.2 数组的赋值
2.5.3 字符数组
2.6 枚举
2.6.1 枚举类型定义
2.6.2 枚举变量定义
2.6.3 枚举变量赋值
2.7 结构体
2.7.1 结构体类型定义
2.7.2 结构体变量的定义和初始化
2.7.3 结构体变量的引用
2.8 共用体
2.9 控制语句
2.9.1 选择结构语句
2.9.2 循环结构语句
2.9.3 转向语句
2.10 应用实例——水果超市管理系统菜单设计
2.10.1 系统功能介绍
2.10.2 系统菜单设计
习题

第3章 指针和引用
3.1 指针
3.1.1 指针的概念
3.1.2 指针变量的定义
3.1.3 指针变量的运算
3.1.4 指针的指针
3.2 指针与数组
3.2.1 指向数组的指针
3.2.2 指针数组
3.3 字符串
3.3.1 C风格字符串
3.3.2 string类型
3.4 引用
3.4.1 引用的概念
3.4.2 指针和引用的区别与联系
3.5 指针及引用在函数中的作用
3.6 应用实例——果超市管理系统的水果基本信息管理
习题

第4章 函数
4.1 函数的定义、声明和类型
4.1.1 函数的定义
4.1.2 函数的声明
4.1.3 函数的类型
4.2 函数的参数与调用
4.2.1 函数的参数
4.2.2 函数的调用
4.3 内联函数
4.4 函数的重载
4.5 标识符的作用域
4.5.1 作用域的种类
4.5.2 标识符的作用域规则
4.5.3 全局变量和局部变量
4.6 应用实例——水果超市管理系统中购物车的设计
习题

第5章 类和对象
5.1 类的定义
5.1.1 类的定义格式
5.1.2 类成员的访问控制
5.1.3 成员函数的特性
5.2 对象的定义和使用
5.2.1 对象的定义方法
5.2.2 对象成员的表示方法
5.3 构造函数和析构函数
5.3.1 构造函数
5.3.2 析构函数
5.4 静态成员
5.4.1 静态数据成员
5.4.2 静态成员函数
5.5 常对象和常成员
5.5.1 常对象
5.5.2 常数据成员
5.5.3 常成员函数
5.6 对象指针和对象引用
5.6.1 对象指针
5.6.2 this指针
5.6.3 对象引用
5.7 对象数组
5.7.1 对象数组的定义和使用
5.7.2 对象指针数组
5.7.3 指向对象数组的指针
5.8 子对象和堆对象
5.8.1 子对象
5.8.2 堆对象
5.9 友元
5.9.1 友元函数
5.9.2 友元类
5.10 类的作用域和对象的生存期
5.10.1 类的作用域
5.10.2 对象的生存期
5.11 应用实例——水果超市管理系统基本类的设计
5.11.1 “水果类”Fruit的设计
5.11.2 “水果总类”FruitKind的设计
5.11.3 “购买水果品种类”CartItem设计
5.11.4 “购物车类”Cart的设计
习题

第6章 继承
6.1 继承的概念
6.1.1 什么是继承
6.1.2 派生类的定义格式
6.1.3 派生类对象的结构
6.2 继承方式
6.2.1 公有继承
6.2.2 私有继承
6.2.3 保护继承
6.3 派生类的构造函数和析构函数
6.4 多继承
6.4.1 多继承的概念
6.4.2 多继承下的构造函数
6.4.3 二义性
6.5 虚基类
6.5.1 虚基类的定义
6.5.2 虚基类的构造函数和分析构函数
6.6 类型转换
6.6.1 派生类到基类的转换
6.6.2 基类到派生类的转换
6.7 应用实例——水果超市管理系统中类的继承关系
6.7.1 “正价水果类”RegularFruit的设计
6.7.2 “特价水果类”DiscountFruit的设计
6.7.3 验证
习题

第7章 多态
7.1 多态的描述
7.1.1 什么是多态
7.1.2 多态的分类
7.1.3 多态的实现方式
7.2 运算符重载
7.2.1 运算符重载的定义
7.2.2 双目运算符重载
7.2.3 单目运算符重载
7.3 虚函数
7.3.1 虚成员函数
7.3.2 虚析构函数
7.4 抽象类
7.4.1 纯虚函数
7.4.2 抽象类与具体类
7.5 应用实例——水果超市管理系统中虚函数的使用
习题

第8章 模板和STL
8.1 模板简介
8.2 函数模板
8.3 类模板
8.3.1 类模板的定义
8.3.2 类模板用作函数的参数
8.3.3 类模板用作基类
8.4 STL
8.4.1 STL简介
8.4.2 容器
8.4.3 迭代子
8.4.4 算法
习题

第9章 异常处理
9.1 简介
9.2 基本语法
9.3 构造函数、析构函数和异常
9.4 继承和异常
9.5 标准库中的异常类
习题

第10章 ACM-ICPC简介及在线实训
10.1 ACM-ICPC简介
10.2 在线实训模式
10.3 实训练习
习题
附录A C++常用运算符的功能、优先级和结合性
附录B 水果超市管理系统源程序清单
参考文献
Book Abstract

对象之间传递信息是通过消息实现的,当一个对象对另一个对象发出的消息进行响应时,其操作才得以实现。
2.类(Class)
类是人们对客观事物的高度抽象。抽象是指抓住事物的本质特性,找出事物之间的共性,并将具有共同特性的事物划分为一类,得到一个抽象的概念。例如,人、汽车、房屋、水果等都是类的例子。
类是一种类型,是具有相同属性和操作的一组对象的集合。类的作用是定义对象,类给出了属于该类的全部对象的抽象定义,而对象则是类的具体化,是符合这种定义的一个类的实例。类还可以有子类和父类,子类通过对父类的继承形成层次结构。
把一组对象的共同特性加以抽象并存储在一个类中的能力是面向对象技术中最重要的一点,是否建立了一个丰富的类库则是衡量一个面向对象程序设计语言成熟与否的重要标志。
3.封装(EncapsulatIon)
封装是面向对象方法的重要特征之一,是指将对象的属性和行为(数据和操作)包裹起来形成一个封装体。该封装体内包含对象的属性和对象的行为,对象的属性由若干个数据组成,而对象的行为则由若干操作组成,这些操作是通过函数来实现的,也称之为方法。
封装体具有独立性和隐藏性。独立性是指封装体内所包含的属性和行为构成了一个不可分割的独立单位。隐藏性是指封装体内的某些成员(数据或者方法)在封装体外是不可见的,既不能被访问,也不能被改变,这部分成员被隐藏了,具有安全性。一般情况下,封装体和外界的联系是通过接口来进行的。
4.继承(Inhe ritance)
继承是面向对象方法的另一个重要特征,是提高重用性的重要措施。继承提供了创建新类的一种方法,表现了特殊类与一般类的关系。特殊类具有一般类的全部属性和行为,并且还具有自己特殊的属性和行为,这就是特殊类对一般类的继承。通常将一般类称为基类(父类),而将特殊类称为派生类(子类)。
使用继承可以使人们对事物的描述变得简单。例如,已经描述了动物这个类的属性和行为,由于哺乳动物是动物的一种,它除了具有动物这个类的所有属性和行为外,还具有自己特殊的属性和行为,这样在描述哺乳动物时就只需要在继承动物类的基础上再加入哺乳动物所特有的属性和行为就可以了。因此,哺乳动物是特殊类,是子类;而动物是一般类,是父类。
继承的本质特征就是行为共享。通过行为共享,可以减少冗余性,很好地解决软件重用性的问题。
Introduction

面向对象程序设计是计算机软件开发人员必须掌握的一门技术,它与传统的结构化程序设计相比,具有很多优点,从根本上改变了人们设计软件的思维方式,使程序设计者不用特别关心具体的数据格式和过程,只需将重点放在要处理对象的设计和研究上即可。C++语言是一种面向对象的编程语言,同时又兼容C语言的特征。用C++语言编写的程序可读性更好,代码结构更合理,对面向对象技术提供全面支持。C++语言具有简单易学的特点,适合作为面向对象程序设计方法学习的入门语言。
本书是编者多年C++教学经验的总结,针对编者在教学中出现的问题及遇到的困难进行讲解,全面系统地讲述了C++语言的基本概念和编程方法,重点叙述面向对象程序设计的特征,即封装性(类和对象)、继承性和多态性。本书以一个完整的应用案例——水果超市管理系统的实现贯穿各章,使读者能够充分认识面向对象的编程方法,并能进行实际操作。在案例中,按照应用系统的开发步骤对系统进行分模块讲解,尤其是对水果超市管理系统中使用的类、对象和继承关系进行了详细的分析和设计,使读者能通过具体的实例充分理解面向对象程序设计方法的实质,同时对应用系统开发有一个初步的认识,并能进行实际操作,对提高读者的编程能力很有帮助。水果超市管理系统的源代码在附录中给出,并已调试通过。
全书共分10章,针对各章的知识点提供了相应的例题,并配有大量习题,便于读者对所学知识进行检测和巩固。全书主要内容包括以下3部分。
第一部分(第1~4章)简单介绍C++语言的特点和面向对象程序设计的基本概念,详细讲述C++语言的基本语法规则和功能,包括各种数据类型、控制语句,以及函数、指针和引用等。
第二部分(第5~7章)重点叙述C++语言所支持的面向对象程序设计方法的核心内容:封装性、继承性和多态性。具体内容包括类和对象的定义和使用、对象的赋值和运算、继承性和派生类、多态性和虚函数等。这一部分是学习C++语言的重点和难点。
第三部分(第8~10章)介绍函数模板、类模板和标准模板库(STL)的使用方法,同时对c++中的异常处理机制和标准库中的异常类进行详细叙述,最后针对ACM-ICPC平台及在线实训内容进行简要说明。

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book