摘要: 1.#include #include #include void GetMemory(char *p);void Test();int main(){ Test(); return 0;}void GetMemory( char *p ){ p = (char *) malloc( 100 );}... 阅读全文
posted @ 2013-06-09 10:41 Windeal 阅读(199) 评论(0) 推荐(0)
摘要: 1. strcpychar *strcpy(char *strDst, char *strSrc){ assert(strDst != NULL && strSrc != NULL); char *tmpDst = strDst; while((*tmpDst++ = *strSrc++) != ... 阅读全文
posted @ 2013-06-09 09:56 Windeal 阅读(229) 评论(0) 推荐(0)