Public Member Functions | |
| IntList () | |
| void | clear (void) |
| void | append (int value) |
| int | at (int i) |
| int | count (void) |
The IntList class contains a list of integers.
| IntList::IntList | ( | ) |
Creates an empty list.
| void IntList::append | ( | int | value) |
Appends an int to the end of the list.
| item | The integer value to be appended. |
| int IntList::at | ( | int | i) |
Returns the integer at the specified index.
| The | index to be retrived. |
| void IntList::clear | ( | void | ) |
Clears the list.
| int IntList::count | ( | void | ) |
Returns the number of integers inside the list.
1.8.4