diff --git a/Boost-datetime-Examples-Translated.md b/Boost-datetime-Examples-Translated.md index 7066b55..69dddd8 100644 --- a/Boost-datetime-Examples-Translated.md +++ b/Boost-datetime-Examples-Translated.md @@ -28,7 +28,7 @@ look if ported to this library. ### Dates as String ```c++ -#include "date.h" +#include "date/date.h" #include #include #include @@ -59,8 +59,9 @@ main() // Let's send in month 25 by accident and create an exception in.str("20012509"); // 2001-??-09 + in.clear(); in.exceptions(std::ios::failbit); - cout << "An expected exception is next:\n"; + cout << "An expected exception is next:" << endl; in >> parse("%Y%m%d", d); cout << "oh oh, you shouldn't reach this line:\n"; }