{{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

C语言程序设计上机实验与习题解答

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

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

1.本书实验丰富,从简单到复杂,逐步提高难度;2.书中包含主教材习题解答、实验教材习题解答;3.本书提供源代码
《C语言程序设计上机实验与习题解答》特别适合作为大学C语言公选课实验教材及自学C语言的实验教材,也适合作为二级C语言考试的参考用书。

Content Description

《C语言程序设计上机实验与习题解答》是《C语言程序设计》的配套教材,内容包括三部分,上机实验、教材的习题解答、部分实验教材中的习题答案。其中实验部分严格按照教材的内容次序,针对C语言中的知识点,从简单到复杂,精心组织了实验过程,每个实验大约需要2学时,练习是从最简单的示例开始,逐步提高难度,完成一个练习,也就掌握了一个章节的内容。教材的习题解答部分给出了教材中全部习题的答案及必要的解析。 实验教材的答案中之所以只给出了部分习题的答案,是避免同学直接查看答案,缺少了思考的过程,也就失去了上机练习的意义,因此只附带部分所谓“难题”的答案,完整的实验教材答案可以到华信教育资源网下载电子版。

Author Description

蔺德军,男。从1997年开始从事C语言程序设计课程教学,并辅导二级C语言考试,从事VC++研究生选修课教学多年。

Catalogue

实验1 操作环境与过程 1

1.1 实验目的 1

1.2 实验预习 1

1.3 使用VC++6.0上机过程 1

1.2 使用Dev-CPP上机过程 4

1.5 在VS2013中如何调试C语言程序 7

1.6 编译时常见错误 8

1.7 链接时常见错误 9

1.8 常见错误及注意事项 10

实验2 变量类型与输入输出 11

2.1 实验目的 11

2.2 实验预习 11

2.3 实验内容 11

2.4 常见错误及注意事项 14

实验3 运算符与表达式 15

3.1 实验目的 15

3.2 实验预习 15

3.3 实验内容 15

3.4 常见错误及注意事项 19

实验4 顺序结构程序设计 20

4.1 实验目的 20

4.2 实验预习 20

4.3 实验内容 20

4.4 常见错误及注意事项 23

实验5 选择结构程序设计 24

5.1 实验目的 24

5.2 实验预习 24

5.3 实验内容 24

5.4 常见错误及注意事项 28

实验6 循环结构程序设计(一) 29

6.1 实验目的 29

6.2 实验预习 29

6.3 实验内容 29

6.4 常见错误及注意事项 32

实验7 循环结构程序设计(二) 34

7.1 实验目的 34

7.2 实验预习 34

7.3 实验内容 34

7.4 常见错误及注意事项 37

实验8 综合程序设计练习(一) 38

8.1 实验目的 38

8.2 实验预习 38

8.3 实验内容 38

8.4 常见错误及注意事项 43

实验9 数组 44

9.1 实验目的 44

9.2 实验预习 44

9.3 实验内容 44

9.4 常见错误及注意事项 48

实验10 字符串处理 49

10.1 实验目的 49

10.2 实验预习 49

10.3 实验内容 49

10.4 常见错误及注意事项 53

实验11 指针(一) 54

11.1 实验目的 54

11.2 实验预习 54

11.3 实验内容 54

11.4 常见错误及注意事项 59

实验12 指针(二)(选作) 60

12.1 实验目的 60

12.2 实验预习 60

12.3 实验内容 60

12.4 常见错误及注意事项 64

实验13 函数(一) 65

13.1 实验目的 65

13.2 实验预习 65

13.3 实验内容 65

13.4 常见错误及注意事项 70

实验14 函数(二) 71

14.1 实验目的 71

14.2 实验预习 71

14.3 实验内容 71

14.4 常见错误及注意事项 75

第15章 综合程序设计练习(二) 76

15.1 实验目的 76

15.2 实验预习 76

15.3 实验内容 76

15.4 常见错误及注意事项 80

实验16 结构体、共用体、枚举 81

16.1 实验目的 81

16.2 实验预习 81

16.3 实验内容 81

16.4 常见错误及注意事项 86

实验17 链表(选做) 87

17.1 实验目的 87

17.2 实验预习 87

17.3 实验内容 87

17.4 常见错误及注意事项 93

实验18 编译预处理 94

18.1 实验目的 94

18.2 实验预习 94

18.3 实验内容 94

18.4 常见错误及注意事项 97

实验19 文件 98

19.1 实验目的 98

19.2 实验预习 98

19.3 实验内容 98

19.4 常见错误及注意事项 103

实验20 C语言二级机试真题 104

20.1 实验目的 104

20.2 实验预习 104

20.3 实验内容 104

……

Introduction

前 言

计算机语言的学习,在计算机上编程练习是至关重要的,否则就无法掌握一门语言,本书旨在帮助学生上机练习,从浅入深,逐步引导学生学习C语言的各项内容。

本实验手册的安排如同上山的台阶,从第一题开始做起,逐题抬升一点高度,最后能掌握整章内容,达到顶峰,因此使用本手册要按次序逐题练习,后面习题的答案可能就隐藏在前面题中,这样做反而是省时省力并且高效,反之如同要一下跳上百米高台,尽管很努力,最后结果可能是白费的。

翻看答案,功效减半!学习和教学的经验告诉我,编程的学习,锻炼的就是逻辑思维能力,只记住别人写的一段代码,对自己编程能力没有任何的增益,相反自己去摸索,去尝试,即使最后没有完成程序的编写,能力反倒有所提高。

本课程介绍了使用Visual C++6.0编译环境(推荐)、dev-cpp软件环境、vs2013环境下调试C语言程序的方法。而本书所有示例仅在VC++6.0上调试通过,三个软件中,VC++6.0sp1使用最为普遍,可以在win2000、XP、win7下运行;dev-cpp(或dev-C++)占用空间较小,也可以在win2000、XP、win7下运行;vs2013比较庞大,在win7下运行没有问题,能否在win8下安装运行,尚未检验。

本书编写过程中,得到姜彬、刘晓洁、张云红、郑世秀、朱威同等各位C语言专家的耐心指导和大力支持,在此表示感谢。

本书编写仓促,编者水平有限,书中难免有疏漏和错误,还希望大家多加指正,共同进益。

编 者

2015年9月

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