diff --git a/8_9_Atomkern/code/Atomkern/Atomkern.cpp b/8_9_Atomkern/code/Atomkern/Atomkern.cpp index 4860b65..a6c97db 100644 --- a/8_9_Atomkern/code/Atomkern/Atomkern.cpp +++ b/8_9_Atomkern/code/Atomkern/Atomkern.cpp @@ -36,8 +36,8 @@ Atomkern operator*(int i, const Atomkern &atom1) { atom1.ordnungszahl() * i); } std::ostream &operator<<(std::ostream &os, const Atomkern &atom) { - os << "Elementsymbol: " << atom.symbol() - << ", Massenzahl: " << atom.massenzahl() - << ", Ordnungszahl: " << atom.ordnungszahl(); + os << atom.symbol() + << "(" << atom.massenzahl() + << "," << atom.ordnungszahl() << ")"; return os; } diff --git a/8_9_Atomkern/code/Atomkern/build/8_Atomkern b/8_9_Atomkern/code/Atomkern/build/8_Atomkern index aa8ffdc..5bee237 100755 Binary files a/8_9_Atomkern/code/Atomkern/build/8_Atomkern and b/8_9_Atomkern/code/Atomkern/build/8_Atomkern differ diff --git a/8_9_Atomkern/code/Atomkern/build/CMakeFiles/8_Atomkern.dir/Atomkern.cpp.o b/8_9_Atomkern/code/Atomkern/build/CMakeFiles/8_Atomkern.dir/Atomkern.cpp.o index 8d4ebe5..5445523 100644 Binary files a/8_9_Atomkern/code/Atomkern/build/CMakeFiles/8_Atomkern.dir/Atomkern.cpp.o and b/8_9_Atomkern/code/Atomkern/build/CMakeFiles/8_Atomkern.dir/Atomkern.cpp.o differ