From 06399f5279df8c9fb8f4c8451daf87653b26cc8d Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sun, 23 Apr 2017 09:40:56 +0200 Subject: Eliminate stampe nella console --- lswf.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lswf.cpp b/lswf.cpp index 997902f..31f7745 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--) { @@ -54,10 +54,7 @@ int main() seq[i] = 1; } else seq[i] = 0; } - for(i = 0; i < lastc; i++) { - out << seq[i]; - cout << seq[i] << ' '; - } + for(i = 0; i < lastc; i++) out << seq[i]; delete[] seq; in.close(); -- cgit v1.2.3-18-g5258