报错:0x00B32009 处有未经处理的异常(在 nengdopng.exe 中): 0xC00000FD: Stack overflow (参数: 0x00
#include <stdio.h>#include <stdlib.h>
#include <string.h>
int main(int argc, char const *argv[])
{
double a[621][621];
//for (int i = 0; i < 621; i++)
// for (int j = 0; j < 621; j++)
// a[i][j] = 0;
FILE *fpread = fopen("f:\\666.txt", "r");
if (fpread == NULL)
{
printf("ERROR::FAIL TO READ!\n");
exit(-1);
}
int i = 0;
for (int i = 0; i < 621; i++)
for (int j = 0; j <621; j++)
{
fscanf(fpread, "%le", &a[i][j]);
}
for(int i = 0; i < 621; i++)
{
for(int j = 0; j < 621; j++)
{
printf("%le ", a[i][j]);
}
}
printf("%le\n", a[0][1]);
system("pause");
return 0;
}