diff options
Diffstat (limited to 'week08/Exercise4.cpp')
| -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] << " "; } |
