diff options
Diffstat (limited to 'c++/examples/h5tutr_crtgrpd.cpp')
-rw-r--r-- | c++/examples/h5tutr_crtgrpd.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/c++/examples/h5tutr_crtgrpd.cpp b/c++/examples/h5tutr_crtgrpd.cpp index f0bde52..12de485 100644 --- a/c++/examples/h5tutr_crtgrpd.cpp +++ b/c++/examples/h5tutr_crtgrpd.cpp @@ -19,17 +19,12 @@ */ #include <iostream> -#include <string> +using std::cout; +using std::endl; +#include <string> #include "H5Cpp.h" - -#ifndef H5_NO_NAMESPACE - using namespace H5; -#ifndef H5_NO_STD - using std::cout; - using std::endl; -#endif // H5_NO_STD -#endif +using namespace H5; const H5std_string FILE_NAME("h5tutr_groups.h5"); const H5std_string DATASET_NAME1("/MyGroup/dset1"); |