adding line breaker
This commit is contained in:
@@ -49,6 +49,7 @@ where h is as defined above.
|
|||||||
– It can be treated like an ordinary array using the subscripting operator.
|
– It can be treated like an ordinary array using the subscripting operator.
|
||||||
– A vector knows how many elements it stores! (unlike C arrays)
|
– A vector knows how many elements it stores! (unlike C arrays)
|
||||||
– There is NO automatic checking of subscript bounds.
|
– There is NO automatic checking of subscript bounds.
|
||||||
|
|
||||||
Here’s how we create an empty vector of integers:
|
Here’s how we create an empty vector of integers:
|
||||||
```cpp
|
```cpp
|
||||||
std::vector<int> scores;
|
std::vector<int> scores;
|
||||||
|
|||||||
Reference in New Issue
Block a user