summaryrefslogtreecommitdiffstats
path: root/c++/examples/create.cpp
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-18 17:11:12 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-18 17:11:12 (GMT)
commit6f34503a5a93ae1ba97d35475643fac1ef70447e (patch)
treebf98891ae44f410775363d04557d6ab6a8494584 /c++/examples/create.cpp
parent4775b6a3d9f6cd9be4865897d7ab8301222a076b (diff)
downloadhdf5-6f34503a5a93ae1ba97d35475643fac1ef70447e.zip
hdf5-6f34503a5a93ae1ba97d35475643fac1ef70447e.tar.gz
hdf5-6f34503a5a93ae1ba97d35475643fac1ef70447e.tar.bz2
Whitespace cleanup
Diffstat (limited to 'c++/examples/create.cpp')
-rw-r--r--c++/examples/create.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/c++/examples/create.cpp b/c++/examples/create.cpp
index 890fb03..06b981b 100644
--- a/c++/examples/create.cpp
+++ b/c++/examples/create.cpp
@@ -25,11 +25,11 @@
#include "H5Cpp.h"
using namespace H5;
-const H5std_string FILE_NAME( "SDS.h5" );
-const H5std_string DATASET_NAME( "IntArray" );
-const int NX = 5; // dataset dimensions
-const int NY = 6;
-const int RANK = 2;
+const H5std_string FILE_NAME( "SDS.h5" );
+const H5std_string DATASET_NAME( "IntArray" );
+const int NX = 5; // dataset dimensions
+const int NY = 6;
+const int RANK = 2;
int main (void)
{
@@ -41,7 +41,7 @@ int main (void)
for (j = 0; j < NX; j++)
{
for (i = 0; i < NY; i++)
- data[j][i] = i + j;
+ data[j][i] = i + j;
}
/*
* 0 1 2 3 4 5