2011年12月5日
摘要: #include "stdafx.h"#include <ostream>#include <stdio.h>int main(){int N;int s,i,j;int squa;/*分配空间*/scanf("%d",&N);int **a = (int**)malloc(N*sizeof(int));if(a==NULL)return 0;for (i=0;i<N;i++){if((a[i]=(int*)malloc(N*sizeof(int)))==NULL){while(--i>=0)free(a[i] 阅读全文
posted @ 2011-12-05 11:31 Ming明、 阅读(356) 评论(0) 推荐(0) 编辑