display less than and greater than correctly
This commit is contained in:
@@ -54,8 +54,7 @@ v_itr = w.begin() + 2;
|
|||||||
*v_itr = 2.78; // changes 3rd entry in w
|
*v_itr = 2.78; // changes 3rd entry in w
|
||||||
```
|
```
|
||||||
|
|
||||||
works fine because v_itr is a std::vector<double>::iterator, but if a is a
|
works fine because v_itr is a std::vector<double>::iterator, but if *a* is a std::vector<std::string> then
|
||||||
std::vector<std::string> then
|
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
v_itr = a.begin();
|
v_itr = a.begin();
|
||||||
|
|||||||
Reference in New Issue
Block a user