diff options
| author | Kamen Mladenov <kamen@syndamia.com> | 2024-05-09 14:13:41 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-09 14:13:41 +0300 |
| commit | 437e306dc9b79905105fb2e8af6dd1eae1b908ae (patch) | |
| tree | d47bd59da88e8012f1a5085b2b1ed146ee51bed9 /week08 | |
| parent | 9e2b884538f58e1160b255f421fd649dac0cc080 (diff) | |
| download | oop-2023-solutions-437e306dc9b79905105fb2e8af6dd1eae1b908ae.tar oop-2023-solutions-437e306dc9b79905105fb2e8af6dd1eae1b908ae.tar.gz oop-2023-solutions-437e306dc9b79905105fb2e8af6dd1eae1b908ae.zip | |
[w8] Fixed missing output of length
Diffstat (limited to 'week08')
| -rw-r--r-- | week08/Exercise4.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/week08/Exercise4.cpp b/week08/Exercise4.cpp index 28b3e2d..cad7e80 100644 --- a/week08/Exercise4.cpp +++ b/week08/Exercise4.cpp @@ -122,6 +122,7 @@ bool operator!=(const FloatArray& left, const FloatArray& right) { } std::ostream& operator<<(std::ostream& ostr, const FloatArray& right) { + ostr << right.lastUnused << " "; for (int i = 0; i < right.lastUnused; i++) { ostr << right.numbers[i] << " "; } |
