Term
| What do you use vectors for? |
|
Definition
| To work with sequences and values. |
|
|
Term
| How do you use a vector member function? |
|
Definition
| To manipulate sequence elements. |
|
|
Term
| What is a characteristic of a "good game programmer" |
|
Definition
|
|
Term
|
Definition
| Standard Template Library |
|
|
Term
| Containers store and let us access collections of values of the same type. True or false? |
|
Definition
|
|
Term
| A vector is series of commands and Boolean terms. True or false? |
|
Definition
| False. A vector is a general description of a dynamic array. |
|
|
Term
| What does an iterator do? |
|
Definition
| Identifies elements in a container. |
|
|
Term
| Can vectors be used with STL? Can arrays? |
|
Definition
|
|
Term
| Which consumes more memory? A vector or an array? |
|
Definition
|
|
Term
|
Definition
| A type of math used for any specific need. |
|
|
Term
|
Definition
| An array that can grow and shrink accordingly. |
|
|
Term
| What object would you use to create an inventory? |
|
Definition
| String object, and or dynamic array. |
|
|
Term
What is wrong with the following code?
" vector[string] inventory; " |
|
Definition
|
|
Term
| What is wrong with the following code?
" cout < |
|
Definition
|
|
Term
| What do you do before you declare a vector? |
|
Definition
| Must conclude the file that's contains its definition. |
|
|
Term
| What code would you use to include a vector? |
|
Definition
|
|
Term
| Declaring a vector is fine because? |
|
Definition
| Vectors grow in size as elements are added. |
|
|