|
12/16/2008 5:29 AM
post18680
|
hi,
I am using new for memory allocation in c++, after allocating i am properly releasing the memory. For using this i have
included <new>header file.The code is as below
int *p1 ;
*p1 = new (nothrow)datCtlMode;
if(p1==0)
Flag =1;
else
Flag = 0;
delete datCtlMode;
With this procedure i am getting error as Parse error.If anybody have any idea please guide me...
|
|
|
|
|