积极答复者
关于指针,请教1个简单问题

问题
答案
-
POINT
The POINT structure defines the x- and y-coordinates of a point.
typedef struct tagPOINT {
看下这个结构体的定义就应该很明白了吧。
LONG x;
LONG y;
} POINT, *PPOINT, NEAR *NPPOINT, FAR *LPPOINT;
你上面的代码就是给数组x和y的每个元素赋值。
Visual C++ enthusiast, like network programming and driver development. At present is being engaged in the WinCE/Windows Mobile platform embedded development.- 已标记为答案 Rob Pan 2011年9月12日 8:24
全部回复
-
POINT
The POINT structure defines the x- and y-coordinates of a point.
typedef struct tagPOINT {
看下这个结构体的定义就应该很明白了吧。
LONG x;
LONG y;
} POINT, *PPOINT, NEAR *NPPOINT, FAR *LPPOINT;
你上面的代码就是给数组x和y的每个元素赋值。
Visual C++ enthusiast, like network programming and driver development. At present is being engaged in the WinCE/Windows Mobile platform embedded development.- 已标记为答案 Rob Pan 2011年9月12日 8:24