| lab_memory
    Malevolent Memories | 
Represents a group of students with the same first letter of their last name. More...
#include "letter.h"
| Public Member Functions | |
| Letter () | |
| Letter constructor.  More... | |
| void | addStudent () | 
| Adds one additional student to the letter group.  More... | |
| bool | operator< (const Letter &other) const | 
| Comparator for letters (to allow for sorting).  More... | |
| Public Attributes | |
| char | letter | 
| The character this Letter represents.  More... | |
| int | count | 
| How many students have been allocated for this letter.  More... | |
Represents a group of students with the same first letter of their last name.
| Letter::Letter | ( | ) | 
Letter constructor.
Initializes the letter to '-' with 0 students The letter should be set by the client.
| void Letter::addStudent | ( | ) | 
Adds one additional student to the letter group.
| bool Letter::operator< | ( | const Letter & | other | ) | const | 
| char Letter::letter | 
The character this Letter represents.
| int Letter::count | 
How many students have been allocated for this letter.