新手求问!关于代码问题!大神速来!
各位路过的亲好~我是一个刚刚学C语言的准大学生


头文件:
/* The distance of a marathon in kilometers. */
#include <stdio.h>
#define ACRE 2337
#define a 0.3
#define b 5280
#define c 144
#define d 640
#endif
opp:
/* Measuring the Pacific Sea. */
#include "one.h"
int main(void)
{
const int pacific_sea = AREA; /*in sq kilometers*/
double acers, sq_miles, sq_feet, sq_inches;
printf("\nThe Pacific Sea covers an area");
printf("of %d square kilometers.\n", Pacific_sea);
sq_miles = a*pacific_sea;
sq_feet = b*sq_miles;
sq_inches = c*sq_feet;
acres = d*sq_inches;
printf("In other units of measure this is : \n\n");
printf("%22.7e acres\n", acres);
printf("%22.7e square miles\n", sq_miles);
printf("%22.7e square feet\n", sq_feet);
printf("%22.7e square inches\n", sq_inches);
return 0;
}
我按过F7,它说我是这么错的


c:\users\administrator\desktop\study\a new try\one.h(11) : fatal error C1020: unexpected #endif
这究竟要怎么纠正呢?


PS:再劳烦~如果新手先自学的话。那么看美国Al Kelley Ira Pohi著、徐波译的机械工业出版社的《C语言教程》(原书第四版)可以吗?但是感觉这一天下来回家上机的时候发现VC6.0根本不会用……应该怎么应对~
如果有大神有空可以详说的话~请加小女子QQ

