summaryrefslogtreecommitdiffstats
path: root/c++/examples/h5tutr_rdwt.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2013-09-24 02:12:40 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2013-09-24 02:12:40 (GMT)
commit91df66782ea03416f4dae1a8171ede49fb016725 (patch)
treec8486e06ed06240e9f548d360903d6337151a8c6 /c++/examples/h5tutr_rdwt.cpp
parentab239810e1ae81f390a91dfbb3e5d68934efee55 (diff)
downloadhdf5-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.cpp5
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
}
-