摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#include<stdio.h>2#include<malloc.h>3#include<string.h>45typedefunsignedcharUCHAR;6typedefcharCHAR;7typedefunsignedlongULONG;8typedefunsignedintUSHORT;9#include<stdio.h>10#in 阅读全文
posted @ 2011-02-16 23:13 淮北橘子 阅读(400) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>#include <string.h>#include <stdlib.h>struct aa{ int a; int b;};struct bb{ struct aa test[0];};int main(void){ struct bb *p=(struct bb*)malloc(sizeof(struct bb)+sizeof(struct aa)*100); p->test[0].a=10; p->test[0].b=20; printf("%d,%d\n",p->test[0].a,p-&g 阅读全文
posted @ 2011-02-16 23:00 淮北橘子 阅读(221) 评论(0) 推荐(0) 编辑