CIS 29 - Notes for Thursday, 3/4

Announcements and Reminders

Recording

Standard Template Library Continued

The unordered_multiset container

  • associative container
  • introduced in C++11
  • the container is implemented using a hash
  • elements are not necessarily unique
  • elements are not stored in sorted order
  • requires <unordered_set> header file
Example 15-14 - the unordered_multiset container

The unordered_map container

  • associative container
  • introduced in C++11
  • the container is implemented using a hash
  • elements are unique
  • elements are not stored in sorted order
  • requires <unordered_map> header file
Example 15-15 - the unordered_map container

The unordered_multimap container

  • associative container
  • introduced in C++11
  • the container is implemented using a hash
  • elements are not necessarily unique
  • elements are not stored in sorted order
  • requires <unordered_map> header file
Example 15-16 - the unordered_multimap container 

bitset

  • used to store bits
  • templatized class in which the bitset size is the parameter
  • not a true template, because the type is not a parameter
  • not a container
  • requires <bitset> header file
Example 15-17 - bitset

C++ Style, Style Guidelines, Standards

What is meant by "style"?

What is meant by "style guidelines"?

Geotechnical Software Services

C++ Coding Standard

Google C++ Style Guide

The Linux Kernel Deprecates The 80 Character Line Coding Style

What is meant by "standards"?
  • don't forget directory structure: space invaders
  • debug vs. release software
The Coding Standard Generator

What is the software evolutionary process?

What is a build?
How is software reviewed?
What is a peer review? formal / informal
How is software tested?
What is version control?