IODA
Ex 4: Variables, Attributes, and Dimension Scales

Variables, Attributes, and Dimension Scales using the C interface. More...

Collaboration diagram for Ex 4: Variables, Attributes, and Dimension Scales:

Files

file  04-VariablesAttributesAndDimensions.c
 Variables, Attributes, and Dimension Scales using the C interface.
 

Macros

#define sslin(x)   #x
 
#define slin(x)   sslin(x)
 
#define doErr
 

Functions

int main (int argc, char **argv)
 

Detailed Description

Variables, Attributes, and Dimension Scales using the C interface.

This example parallels the C++ examples.

See also
04-VariablesAttributesAndDimensions.cpp for comments and the walkthrough.

Macro Definition Documentation

◆ doErr

#define doErr
Value:
{ \
errlin = "Error in file " __FILE__ " at line " slin(__LINE__) ".\n"; \
goto hadError; \
}

Definition at line 32 of file 04-VariablesAttributesAndDimensions.c.

◆ slin

#define slin (   x)    sslin(x)

Definition at line 31 of file 04-VariablesAttributesAndDimensions.c.

◆ sslin

#define sslin (   x)    #x

Definition at line 30 of file 04-VariablesAttributesAndDimensions.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 38 of file 04-VariablesAttributesAndDimensions.c.

Here is the call graph for this function: