diff options
author | Sven Gothel <[email protected]> | 2022-10-25 18:32:41 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-10-25 18:53:22 +0200 |
commit | 95f8bfda86a59117e13a8af81bab9bdec19d3a7b (patch) | |
tree | 58f61028fe85a0c40e8c6c866491437f31f13d9c /src/jaulibs/menge.h | |
parent | dbde7b6876d8124ef97b6a2ff623c63ce6fd6836 (diff) |
C++17 compile clean; Using top-level Makefile; Still some code issues w/ gen-river
Diffstat (limited to 'src/jaulibs/menge.h')
-rw-r--r-- | src/jaulibs/menge.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/jaulibs/menge.h b/src/jaulibs/menge.h index 2b29001..c2a35bf 100644 --- a/src/jaulibs/menge.h +++ b/src/jaulibs/menge.h @@ -28,7 +28,7 @@ # ifndef _MENGE_H # define _MENGE_H - #include <iostream.h> + #include <iostream> #include "liste.h" // Template-Liste template<class T> class Menge { @@ -67,13 +67,14 @@ template<class T> void Menge<T>::inhalt() const { - cout << "{ "; + std::cout << "{ "; if (!leer()) { - cout << l[0]; - for (int i=1; i<card(); i++) - cout << ", " << l[i]; + std::cout << l[0]; + for (int i=1; i<card(); i++) { + std::cout << ", " << l[i]; + } } - cout << " }" << endl; + std::cout << " }" << std::endl; } template<class T> Menge<T> Menge<T>::operator*(Menge<T>& a) const |