summaryrefslogtreecommitdiff
path: root/lswf.cpp
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-04-23 09:40:56 +0200
committerGitHub <noreply@github.com>2017-04-23 09:40:56 +0200
commit06399f5279df8c9fb8f4c8451daf87653b26cc8d (patch)
tree8aeb91d4dd5f2ba3accda6d62b0c5c7f43f1ea1b /lswf.cpp
parentc5c6b09c47d1f195a2cbde881d52915af875a403 (diff)
Eliminate stampe nella console
Diffstat (limited to 'lswf.cpp')
-rw-r--r--lswf.cpp7
1 files 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();