Preface xvii
CHAPTER 1 Introduction to Computers and Programming....1
CHAPTER 2 Introduction to C++....27
CHAPTER 3 Expressions and Interactivity....87
CHAPTER 4 Making Decisions....153
CHAPTER 5 Loops and Files....237
CHAPTER 6 Functions....309
CHAPTER 7 Arrays and Vectors....387
CHAPTER 8 Searching and Sorting Arrays....471
CHAPTER 9 Pointers....511
CHAPTER 10 Characters, C-Strings, and More about the string Class....565
CHAPTER 11 Structured Data....621
CHAPTER 12 Advanced File Operations....675
CHAPTER 13 Introduction to Classes....751
CHAPTER 14 More about Classes....849
CHAPTER 15 Inheritance, Polymorphism, and Virtual Functions....941
CHAPTER 16 Exceptions and Templates....1023
CHAPTER 17 The Standard Template Library....1065
CHAPTER 18 Linked Lists....1169
CHAPTER 19 Stacks and Queues....1213
CHAPTER 20 Recursion....1271
CHAPTER 21 Binary Trees....1309
Appendix A: The ASCII Character Set....1339
Appendix B: Operator Precedence and Associativity....1341
Quick References....1343
Index....1345
Credit....1363
Online The following appendices are available at www.pearsonhighered.com/cs-resources.
Appendix C: Introduction to Flowcharting
Appendix D: Using UML in Class Design
Appendix E: Namespaces
Appendix F: Passing Command Line Arguments
Appendix G: Binary Numbers and Bitwise Operations
Appendix H: STL Algorithms
Appendix I: Multi-Source File Programs
Appendix J: Stream Member Functions for Formatting
Appendix K: Unions
Appendix L: Answers to Checkpoints
Appendix M: Answers to Odd Numbered Review Questions
Case Study 1: C-String Manipulation
Case Study 2: High Adventure Travel Agency—Part....1
Case Study 3: Loan Amortization
Case Study 4: Creating a String Class
Case Study 5: High Adventure Travel Agency—Part....2
Case Study 6: High Adventure Travel Agency—Part....3
Case Study 7: Intersection of Sets
Case Study 8: Sales Commission
As organizations shift from monolithic applications to smaller, self-contained microservices, distributed systems have become more fine-grained. But developing these new systems brings its own host of problems. This expanded second edition takes a holistic view of topics that you need to consider when building, managing, and scaling microservices architectures.
Through clear examples and practical advice, author Sam Newman gives everyone from architects and developers to testers and IT operators a firm grounding in the concepts. You'll dive into the latest solutions for modeling, integrating, testing, deploying, and monitoring your own autonomous services. Real-world cases reveal how organizations today manage to get the most out of these architectures.
Microservices technologies continue to move quickly. This book brings you up to speed.
Get new information on user interfaces, container orchestration, and serverless
Align system design with your organization's goals
Explore options for integrating a service with your system
Understand how to independently deploy microservices
Examine the complexities of testing and monitoring distributed services
Manage security with expanded content around user-to-service and service-to-service models