From f8b0d776251ca0da46782399ed9a7587b655bbee Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 25 Apr 2017 11:21:31 +0200 Subject: Print values of array fib --- lswf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lswf.cpp') diff --git a/lswf.cpp b/lswf.cpp index 31f7745..5e3a5a2 100644 --- a/lswf.cpp +++ b/lswf.cpp @@ -44,7 +44,7 @@ int main() } int* seq = new int[lastc]; - //for(i = 0; i < lastc; i++) cout << caracts[i] << ' '; cout << endl; + for(i = 0; i < lastc; i++) cout << caracts[i] << ' '; cout << endl; seq[0] = 1; for(i = lastc; i > 0; i--) { -- cgit v1.2.3-18-g5258 From cce73ad195f9448ae56771dd91e097067d198143 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 25 Apr 2017 11:22:46 +0200 Subject: Print values of array fib with a new line --- lswf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lswf.cpp') diff --git a/lswf.cpp b/lswf.cpp index 31f7745..41a22f6 100644 --- a/lswf.cpp +++ b/lswf.cpp @@ -44,7 +44,7 @@ int main() } int* seq = new int[lastc]; - //for(i = 0; i < lastc; i++) cout << caracts[i] << ' '; cout << endl; + for(i = 0; i < lastc; i++) cout << caracts[i] << endl; cout << endl; seq[0] = 1; for(i = lastc; i > 0; i--) { -- cgit v1.2.3-18-g5258