摘要: #include #include /* emalloc: malloc and report if error */void *emalloc(size_t n){void *p;p = malloc(n);if (p==NULL)printf("malloc of %u bytes failed:",n);return p;}typedef struct Nameval Nameva... 阅读全文
posted @ 2010-02-27 07:04 莫忆往西 阅读(144) 评论(0) 推荐(0)