Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:二维的指针的所指的空间没有释放掉。

Posted by xiaoxiao at 2004-03-27 16:46:16 on Problem 1094
In Reply To:二维的指针的所指的空间没有释放掉。 Posted by:xiaoxiao at 2004-03-27 16:37:20
写错了
for(i=0; i<n; i++) delete [] d[i];
delete [] d;

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator