Modernes C++ programmieren

Okt 23, 2024

lst-0213-book.cpp

try {
    cout << zaehleWoerter(filename) << "\n";
} catch(std::exception &exc) {
    cout << "Fehler: " << exc.what() << "\n";
    throw; // weiterwerfen
}