分类: C/C++
2007-05-10 09:46:14
/** @file test.cpp @
*/
* Copyright (C) 2007 **Inc. .
* All rights reserved.
*
* 当前版本:
* 作 者:Gerry.Peng
* 完成日期: *
* 取代版本:none
* 作 者:none
* 完成日期:none
void freePtr1(int* p1)
{
delete p1;
p1 = NULL;
}
void freePtr2(int*& p2)
{
delete p2;
p2 = NULL;
}