From cd0e681f45a40d40c7b81b15a6218e9ec21088be Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Tue, 11 Feb 2025 13:41:02 -0500 Subject: [PATCH] adding erase example --- lectures/09_iterators_linked_lists/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lectures/09_iterators_linked_lists/README.md b/lectures/09_iterators_linked_lists/README.md index 0af17b2..59d2286 100644 --- a/lectures/09_iterators_linked_lists/README.md +++ b/lectures/09_iterators_linked_lists/README.md @@ -434,7 +434,8 @@ int main() { } // print the modified list - // range based for loop: all STL containers that provide begin() and end() member functions support range-based for loops (introduced in C++11). + // range based for loop. + // all STL containers that provide begin() and end() member functions support range-based for loops (introduced in C++11). for (int num : numbers) { std::cout << num << " "; }