c++ 利用new动态的定义二维数组
摘要:
#include using namespace std; int main() { int row = 4, col = 5; // key code: 申请空间 int **edge = (int **) new int *[row]; for (int i = 0; i < row; i++) { edge[i] = new in... 阅读全文
posted @ 2018-03-01 21:45 HelloShijam 阅读(6986) 评论(0) 推荐(0) 编辑