Jquery中,事件绑定上绑定的方法对象怎么得到

2025-03-18 09:34:42
推荐回答(1个)
回答1:

void GetMemory2(char **p, int num) { *p = (char *)malloc(sizeof(char) * num); } void Test2(void) { char *str = NULL; GetMemory2(&str, 100); strcpy(str, "hello"); cout