Other Flashcards

1
Q

Range based for loop

A

for(int item : items)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Most efficient way to insert in vector

A

push_back()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to remove from back of vector?

A

pop_back()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to insert or delete

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

auto

A

Compiler decides type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly