C Structures
by admin on November 3rd, 2008

Leading up to a post on working with CGRect, CGPoint and CGSize, it makes sense to visit C structures. A structure is a collection of variables, grouped together to facilitate organization of data. For example, one might define a set of x and y coordinates as follows:

Creating a Structure

struct point{
int x;
int [...]

Comments are closed.