想用查表法查表,但是表建立之后出现了问题
error L1502 : invalid location, out of memory or overlaps in 'Data' segment, more details please refer to the map file.注释掉下面这些代码可以运行
unsigned long int temptab[100]={
3972,3961,3955,3948,3940,3933,3925,3916,3908,3899,3890,3881,3871,3861,3851,3840,3829,3818,3806,3794,
3782,3770,3757,3744,3730,3716,3702,3688,3673,3657,3641,3625,3609,3591,3574,3556,3537,3518,3498,3477,
3456,3434,3411,3388,3363,3338,3312,3284,3256,3226,3189,3168,3141,3113,3085,3057,3028,2999,2969,2939,
2909,2878,2848,2816,2785,2753,2721,2689,2657,2624,2592,2559,2526,2493,2459,2426,2393,2359,2326,2292,
2259,2226,2192,2159,2126,2093,2060,2027,1994,1962,1930,1898,1866,1834,1803,1772,1741,1710,1680,1650};