C++入门教程:第10版电子资源指南

需积分: 14 16 下载量 69 浏览量 更新于2024-07-19 2 收藏 16.21MB PDF 举报
"C++ How to Program" 是保罗·迪埃特尔(Paul Deitel)和哈维·迪埃特尔(Harvey Deitel)合著的一本经典的初级C++编程教材,已进入第十版。本书不仅提供了丰富的纸质内容,还配套了数字教育资源,旨在帮助学生更深入地理解和掌握C++编程概念。这些数字资源包括视频笔记,详细讲解了编程过程中的关键步骤;源代码示例,供读者参考和实践;网络章节,涵盖了额外的主题和进阶内容;互动式练习题和测验,以检验学习效果;以及更多实用工具。 在获取这些资源时,学生需要按照以下步骤进行操作:首先访问www.pearsonhighered.com/cs-resources网站,然后输入书籍标题或通过作者搜索找到"Paul Deitel and Harvey Deitel's C++ How to Program (Early Objects Version), Tenth Edition"。点击 Companion Website,接着注册账户,遵循屏幕指示创建用户名和密码。在此过程中,需要刮开书籍内附带的学生访问码,注意避免使用尖锐物品以免损坏编码。完成注册后,就可以使用新创建的账号登录,开始享受教材所附的数字资源服务。 值得注意的是,这个预付费订阅不包含My Programming Lab,这是一个独立购买的在线平台,可提供更全面的编程练习和项目实战体验。此外,每个访问码仅限使用一次,确保用于个人学习。这个订阅的有效期也需在注册时确认。因此,学生在使用过程中应合理安排时间,充分利用这些宝贵的资源来提升自己的C++编程技能。通过这本书和配套的数字资源,读者将能够系统地学习C++语言的基础理论和实践技巧,为成为专业的IT开发者打下坚实的基础。
2011-09-06 上传
C++大学教程(第七版)的示例源代码,详细而规范。 例:// Fig. 2.5: fig02_05.cpp // Addition program that displays the sum of two integers. #include <iostream> // allows program to perform input and output // function main begins program execution int main() { // variable declarations int number1; // first integer to add int number2; // second integer to add int sum; // sum of number1 and number2 std::cout << "Enter first integer: "; // prompt user for data std::cin >> number1; // read first integer from user into number1 std::cout << "Enter second integer: "; // prompt user for data std::cin >> number2; // read second integer from user into number2 sum = number1 + number2; // add the numbers; store result in sum std::cout << "Sum is " << sum << std::endl; // display sum; end line } // end function main /************************************************************************** * (C) Copyright 1992-2010 by Deitel & Associates, Inc. and * * Pearson Education, Inc. All Rights Reserved. * * * * DISCLAIMER: The authors and publisher of this book have used their * * best efforts in preparing the book. These efforts include the * * development, research, and testing of the theories and programs * * to determine their effectiveness. The authors and publisher make * * no warranty of any kind, expressed or implied, with regard to these * * programs or to the documentation contained in these books. The authors * * and publisher shall not be liable in any event for incidental or * * consequential damages in connection with, or arising out of, the * * furnishing, performance, or use of these programs. * **************************************************************************/