摘要: c语言结构体,以前没仔细看,原来对其理解不够。C++语言: Codee#2580101 #include <stdio.h>02 03 struct point04 {05 int x;06 int y;07 float unknown;08 };09 10 struct rect11 {12 struct point pt1;13 struct point pt2;14 };15 16 struct point makepoint(int x, int y)17 {18 struct point temp;19 20 temp.x = x;21 temp.y = y;22 ... 阅读全文
posted @ 2012-03-13 10:00 strorehouse 阅读(120) 评论(0) 推荐(0) 编辑