From 20db13f42b5859796175fbec31eafc1d52885fd3 Mon Sep 17 00:00:00 2001 From: Svein Omrseth Date: Fri, 1 May 2020 20:34:53 -0800 Subject: [PATCH] changed to ranged based for loop and changed pointer to const --- Arrays and Functions/src/Arrays and Functions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Arrays and Functions/src/Arrays and Functions.cpp b/Arrays and Functions/src/Arrays and Functions.cpp index ffd2aa7..66b4c2c 100644 --- a/Arrays and Functions/src/Arrays and Functions.cpp +++ b/Arrays and Functions/src/Arrays and Functions.cpp @@ -33,8 +33,8 @@ void show3(string (&texts)[3]) { // cout << sizeof(texts) << endl; returns sizeof pointer! - for(int i=0; i