From d85937fa9413cef3232527cece6f484b6b64281a Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Mon, 2 Oct 2023 10:51:05 -0400 Subject: [PATCH] display less than and greater than correctly --- lectures/10_linked_lists/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lectures/10_linked_lists/README.md b/lectures/10_linked_lists/README.md index 220686e..0721ef4 100644 --- a/lectures/10_linked_lists/README.md +++ b/lectures/10_linked_lists/README.md @@ -54,8 +54,7 @@ v_itr = w.begin() + 2; *v_itr = 2.78; // changes 3rd entry in w ``` -works fine because v_itr is a std::vector::iterator, but if a is a -std::vector then +works fine because v_itr is a std::vector<double>::iterator, but if *a* is a std::vector<std::string> then ```cpp v_itr = a.begin();