本文共 127 字,大约阅读时间需要 1 分钟。
创建:
int **dp = new int *[x+1]; for(i=0;i<=x;i++) dp[i] = new int[y+1];
销毁:
for(i=0;i<=x;i++) delete []dp[i]; delete []dp;
---
转载地址:http://ltyhj.baihongyu.com/