[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
()
Elements of an array can be identified using subscript expressions.
.
The "." operator indicates field selection in a structure. This
operator is useful in mixed language applications where part of the
application is written in the C or C++ programming language. In the
following example, tyme2 is a structure and tm_year is a field in the
structure.
tyme2.tm_year
->
The "->" operator indicates field selection when using a pointer to a
structure. This operator is useful in mixed language applications where
part of the application is written in the C or C++ programming language.
In the following example, tyme is the pointer and tm_year is a field in
the structure to which it points.
tyme->tm_year
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson