Home » , , » Download PDF DATA STRUCTURES AND PROBLEM SOLVING USING C++ Second Edition by MARK ALLEN WElSS

Download PDF DATA STRUCTURES AND PROBLEM SOLVING USING C++ Second Edition by MARK ALLEN WElSS



Sinopsis

In C++ we can declare and use arrays in two basic ways. The primitive method is to use the built-in array. The alternative is to use a vector. The syntax for both methods is more or less the same; however, the vector is much easier and slightly safer to use than the primitive array and is preferred for most applications. The major philosophical difference between the two is that the vector behaves as a first-class type (even though it is implemented in a library), whereas the primitive array is a second-class type. Similarly, C++ provides primitive strings (which are simply primitive arrays of char) and the muchpreferred string. In this section we examine what is meant by first-class and second-class types and show you how to use the vector and string



Content

  1. Arrays, Pointers, and Structures
  2. Objects and Classes
  3. Templates
  4. Inheritance
  5. Design Patterns
  6. Algorithm Analysis
  7. The Standard Template Library
  8. Recursion
  9. Sorting Algorithms
  10. Randomization
  11. Fun and Games
  12. Stacks and Compilers
  13.  Utilities
  14. Simulation
  15. Graphs and Paths
  16. Stacks and Queues
  17. Linked Lists
  18. Trees
  19. Binary Search Trees
  20. Hash Tables
  21. A Priority Queue: The Binary Heap
  22. Splay Trees
  23. Merging Priority Queues
  24. The Disjoint Set Class




0 komentar:

Posting Komentar