Home > Lectures > Lecture Details

Rules of Template Implementation

By Julie Zelenski - Stanford
get flash player

Lecture Description

Rules of Template Implementation, Explanation of the Working, Not Allow Member Wise Copy, InsertAt Function, Consequences of Contiguous Memory Being a Disadvantage, Stack Class, The Member Function Definitions, Midterm Post Mortem

Course Description

Related Resources

Transcript   |  Code Mystack   |  Code Myvector   |  Assignment 7   |  Assignment 7 Solutions

Course Index

  1. About the Introduction to Computer Science Series at Stanford
  2. Similarity between C++ & Java: - syntax - variable types - operators - control structures
  3. C++ Libraries - Standard Libraries
  4. C++ Console I/O
  5. Client Use of Templates
  6. More Containers
  7. Seeing Functions as Data: Specific Plot Functions
  8. Common Mistakes Stumbled Upon: 'I'terator
  9. Thinking Recursively
  10. Refresh: Permute Code
  11. Backtracking Pseudocode
  12. Pointer Movie
  13. Coding with Linked List
  14. Algorithm Analysis
  15. Selection Sort
  16. Partitioning for Quicksort
  17. Sort Template with Callback
  18. Abstract Data Types
  19. Rules of Template Implementation
  20. Live Coding: Recap of the Vector-based Implementation for Stack
  21. Buffer: Vector vs Stack
  22. Map as Vector
  23. Pathfinder Demo
  24. Compare Map Implementations
  25. Lexicon Case Study
  26. Final Showdown
  27. About the C++ Language, Quick History of C++, C++ Philosophy