diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2013-09-24 02:12:40 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2013-09-24 02:12:40 (GMT) |
commit | 91df66782ea03416f4dae1a8171ede49fb016725 (patch) | |
tree | c8486e06ed06240e9f548d360903d6337151a8c6 /c++/examples/h5tutr_rdwt.cpp | |
parent | ab239810e1ae81f390a91dfbb3e5d68934efee55 (diff) | |
download | hdf5-91df66782ea03416f4dae1a8171ede49fb016725.zip hdf5-91df66782ea03416f4dae1a8171ede49fb016725.tar.gz hdf5-91df66782ea03416f4dae1a8171ede49fb016725.tar.bz2 |
[svn-r24195] Description:
- Improved format/comments in tutorial examples
- Added them to Makefile.* and run-c++-ex.sh.in
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 2.6 (koala)/PGI compilers
Diffstat (limited to 'c++/examples/h5tutr_rdwt.cpp')
-rw-r--r-- | c++/examples/h5tutr_rdwt.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/c++/examples/h5tutr_rdwt.cpp b/c++/examples/h5tutr_rdwt.cpp index a0c1996..e6e45b7 100644 --- a/c++/examples/h5tutr_rdwt.cpp +++ b/c++/examples/h5tutr_rdwt.cpp @@ -47,20 +47,16 @@ int main (void) // Try block to detect exceptions raised by any of the calls inside it try { - // Turn off the auto-printing when failure occurs so that we can // handle the errors appropriately - Exception::dontPrint(); // Open an existing file and dataset. - H5File file( FILE_NAME, H5F_ACC_RDWR ); DataSet dataset = file.openDataSet( DATASET_NAME ); // Write the data to the dataset using default memory space, file // space, and transfer properties. - dataset.write( data, PredType::NATIVE_INT ); } // end of try block @@ -81,4 +77,3 @@ int main (void) return 0; // successfully terminated } - |