C++编程基础:计算机科学与工程导论

需积分: 9 25 下载量 34 浏览量 更新于2024-08-02 1 收藏 8.61MB PDF 举报
"C++ for Computer Science and Engineering, 4th Edition" 是一本面向计算机科学与工程领域的C++编程教程,由Vic Broquard撰写。本书覆盖了从基础编程概念到高级特性的广泛主题,旨在帮助初学者逐步掌握C++语言。 在书中,作者首先介绍了编程的基本概念,让读者理解编程语言的基础知识。第二章“数值处理”讲解了如何在C++中进行数学运算和数据处理。第三章“额外的处理细节”深入探讨了更复杂的编程技巧和细节,如内存管理和错误处理。第四章“决策”涵盖了条件语句(如if-else)和逻辑操作,这些都是编写有选择性行为的程序所必需的。 第五章“文件和循环”介绍输入/输出操作以及如何使用循环结构(如for, while)来重复执行代码。第六章和第七章“编写自己的函数”和“更多关于函数”的内容,详细解释了函数的定义、调用以及如何利用函数模块化程序。第八章“字符处理和do case”则关注字符操作和基于字符的控制流(如switch-case语句)。 第九章至第十三章是数组、字符串、多维数组和结构体的深入研究,这些是C++中处理数据集合的关键工具。在这些章节中,读者将学习如何声明、初始化和操作这些数据类型。 书中的三个附录分别提供了使用不同版本的Microsoft Visual C++编译器的指南,包括2005、2002和6.0版本,这对于使用Windows环境下的C++开发至关重要。最后,书后附有索引,方便读者查找特定主题。 这本书是学习C++编程的全面教程,适合计算机科学和工程专业的学生,或者对C++感兴趣的初学者。它不仅讲解了语言的基础,还涉及了实际编程中可能遇到的各种问题,包括文件操作、循环控制、函数编程和数据结构,以及如何使用流行的C++开发环境。通过本书,读者可以系统地学习并掌握C++编程技能,为未来在计算机科学和工程领域的工作打下坚实基础。
2019-02-21 上传
Programming in C++ for Engineering and Science By 作者: Larry Nyhoff ISBN-10 书号: 1439825343 ISBN-13 书号: 9781439825341 Edition 版本: 1 Release Finelybook 出版日期: 2012-08-03 pages 页数: (744 ) $110 Book Description to Finelybook sorting Developed from the author’s many years of teaching computing courses, Programming in C++ for Engineering and Science guides students in designing programs to solve real problems encountered in engineering and scientific applications. These problems include radioactive decay, pollution indexes, digital circuits, differential equations, Internet addresses, data analysis, simulation, quality control, electrical networks, data encryption, beam deflection, and many other areas. To make it easier for novices to develop programs, the author uses an object-centered design approach that helps students identify the objects in a problem and the operations needed; develop an algorithm for processing; implement the objects, operations, and algorithm in a program; and test, correct, and revise the program. He also revisits topics in greater detail as the text progresses. By the end of the book, students will have a solid understanding of how C++ can be used to process complex objects, including how classes can be built to model objects. contents : Content: Front Cover Contents Preface Acknowledgments About the Author Chapter 1: Introduction to Computing Chapter 2: Programming and Problem Solving- Software Engineering Chapter 3: Types in C++ Chapter 4: Getting Started with Expressions Chapter 5: Control Structures Chapter 6: Functions and Libraries Chapter 7: Using Classes Chapter 8: More Selection Control Structures Chapter 9: More Repetition Control Structures Chapter 10: Functions in Depth Chapter 11: Files and Streams Chapter 12: Arrays and the vector Class Template Chapter 13: Multidimensional Arrays and Vectors Chapter 14: Building ClassesChapter 15: Pointers and Linked Structures Chapter 16: Data Structures Answers to Test Yourself Questions Appe