定义一个多维数组总出现错误(解决了)
double a[7][7]={{55.55555555555,37.037037037037,22.222222222222,12.345679012345,6.5359477124183,3.3670033670034,1.709401709402,0.8613264427218},{37.037037037037,27.777777777777,18.518518518518,11.111111111111,6.1728395061728,3.2679738562092,1.683501683502,0.8547008547008},
{22.222222222222,18.518518518518,13.888888888888,9.2592592592593,5.5555555555555,3.0864197530864,1.633986928105,0.8417508417508},
{12.345679012345,11.111111111111,9.2592592592593,6.9444444444444,4.6296296296296,2.7777777777777,1.543209876543,0.8169934640522},
{6.5359477124183,6.1728395061728,5.5555555555555,4.6296296296296,3.4722222222222,2.3148148148148,1.388888888888,0.7716049382716},
{3.3670033670034,3.2679738562092,3.0864197530864,2.7777777777777,2.3148148148148,1.7361111111111,1.157407407407,0.6944444444444},
{1.7094017094017,1.6835016835020,1.6339869281050,1.5432098765430,1.3888888888880,1.1574074074070,0.868055555555,0.5787037037037},
{0.8613264427218,0.8547008547008,0.8417508417508,0.8169934640522,0.7716049382716,0.6944444444444,0.5787037037037,0.434027777778}};
编译时报告错误说“太多的初始化符”
数字太多,一行放不下,是我回车的位置不对吗?
[此贴子已经被作者于2007-5-24 18:34:21编辑过]