Home » , , » Download PDF Core C++ A Software Engineering Approach by Victor Shtern

Download PDF Core C++ A Software Engineering Approach by Victor Shtern


Sinopsis

The first part of this book is about foundations of programming with C++. As everybody knows, C++ is an object-oriented language. But what does this mean? Why is using an object-oriented programming language better than using a traditional non-object-oriented language? What should you pay attention to while programming so that you reap the benefits of object orientation? Often, people take the object-oriented approach for granted, and this reduces the effectiveness of its use. The first chapter answers these questions. It is all about breaking the program into parts. A large program has to be written as a collection of relatively independent, but communicating and cooperating, components. If, however, you break apart what should be kept together, you introduce excessive communications and dependencies between parts of the program, and the code becomes more difficult to reuse and maintain. If you leave together, in the same component, what can and should be broken into separate pieces, you wind up with complex and confusing code which is¡Xguess what¡Xdifficult to reuse and maintain.




Content

  1.  Object-oriented approach: What's So Good About It?
  2. Getting Started Quickly: A Brief Overview of C++
  3. Working with C++ Data and Expressions
  4. C++ Control Flow
  5. Aggregation with Programmer-Defined Data Types
  6.  Memory Management: the Stack and the Heap
  7. Programming With C++ Functions
  8. Object-Oriented Programming with Functions
  9. C++ Class as a Unit of Modularization
  10. Operator Functions: Another Good idea
  11. Constructors and Destructors: Potential Trouble
  12. Composite Classes: Pitfalls and Advantages
  13. Similar Classes: How to Treat Them
  14. Choosing between Inheritance and Composition
  15. Virtual Functions and other Advanced Uses of Inheritance
  16. Advanced Uses of Operator Overloading
  17. Templates: Yet Another Design Tool
  18. Programming with Exceptions
  19. What We Have Learned




0 komentar:

Posting Komentar