#include #include #include #include #ifndef _WIN32 #include #endif /* _WIN32 */ #include #define PSZ(s) (s).c_str() using namespace std; const int nFiles = 10; const int nEntry = 2; const int nData = 2; int array_dims[2] = {512, 512}; const char szFile[] = "leak_test.nxs"; const int iBinarySize = 512*512; int aiBinaryData[iBinarySize]; #define ON_ERROR(msgstr)\ {\ std::cerr<