diff options
author | Santo Cariotti <sancn@live.com> | 2017-04-23 09:40:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-23 09:40:56 +0200 |
commit | 06399f5279df8c9fb8f4c8451daf87653b26cc8d (patch) | |
tree | 8aeb91d4dd5f2ba3accda6d62b0c5c7f43f1ea1b | |
parent | c5c6b09c47d1f195a2cbde881d52915af875a403 (diff) |
Eliminate stampe nella console
-rw-r--r-- | lswf.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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(); |