摘要: <math.h>文件中对malloc()函数原型: _CRTIMP void * __cdecl malloc(size_t); MSDN中对malloc()的解释: 即:malloc总是返回void类型的指针,如果需要该指针指向特定的类型必须进行强张类型转换。 下例: 阅读全文
posted @ 2016-03-29 10:17 wxiaoli 阅读(326) 评论(0) 推荐(0) 编辑