summaryrefslogtreecommitdiffstats
path: root/c++/examples/chunks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/chunks.cpp')
-rw-r--r--c++/examples/chunks.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/c++/examples/chunks.cpp b/c++/examples/chunks.cpp
index 19718ac..99f386b 100644
--- a/c++/examples/chunks.cpp
+++ b/c++/examples/chunks.cpp
@@ -17,23 +17,27 @@
* We will read from the file created by extend.C
*/
-#include <string>
-
#ifdef OLD_HEADER_FILENAME
#include <iostream.h>
#else
#include <iostream>
#endif
-#include "H5Cpp.h"
+#include <string>
#ifndef H5_NO_NAMESPACE
-using namespace H5;
#ifndef H5_NO_STD
+ using std::string;
using std::cout;
using std::endl;
#endif // H5_NO_STD
#endif
+#include "H5Cpp.h"
+
+#ifndef H5_NO_NAMESPACE
+using namespace H5;
+#endif
+
const string FILE_NAME( "SDSextendible.h5" );
const string DATASET_NAME( "ExtendibleArray" );
const int NX = 10;