GetMemory
摘要:
#include <iostream>#include <stdio.h>#include <stdlib.h>#include <cstring>using namespace std; void GetMemory(char* &p, int num) { p = (char *)malloc(sizeof(char)*num); } void GetMemory1(char** p, int num) { *p=(char*)malloc(sizeof(char)*num); } char* GetMemory2(char* p, 阅读全文
posted @ 2013-02-15 18:59 mymemory 阅读(195) 评论(0) 推荐(0)
浙公网安备 33010602011771号