From 186cbb0453b55ebccd1618d47b72448f42e29561 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Tue, 12 Sep 2023 13:35:33 -0400 Subject: [PATCH] adding curly braces --- lectures/04_pointers/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lectures/04_pointers/README.md b/lectures/04_pointers/README.md index e519492..bda9d31 100644 --- a/lectures/04_pointers/README.md +++ b/lectures/04_pointers/README.md @@ -138,8 +138,9 @@ at that location. const int n = 10; double a[n]; int i; -for ( i=0; i - Remember: the size of array a is fixed at compile time. STL vectors act like arrays, but they can grow and @@ -157,8 +158,9 @@ shrink dynamically in response to the demands of the application. const int n = 10; double a[n]; double *p; -for ( p=a; p