Page tree

The license could not be verified: License Certificate has expired!

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

attr_data[0] = 100;

attr_data[1] = 200;

 

/* Create the data space for the attribute. */

...

dataspace_id = H5Screate_simple(1, &dims, NULL);

 

/* Create a dataset attribute. */

...

                           dataspace_id, H5P_DEFAULT, H5P_DEFAULT);

 

/* Write the attribute data. */

...