I encountered a problem.I try to change the pointer,but pointer does not change. Here is my code:
void TestPoint(char* point) { point=new char[10]; } int ma
void TestPoint(char** point) { *point = new char[10]; } int main(int argc, char* argv[]) { char* test = NULL; TestPoint(&test); /******/ return 0; }