编号

页码和行数

更正前

更正后

1

274页倒数第1和第4

MyStrcat(str1, str2);

strcat(str1, str2);

 

2

318页倒数第13和第14

,同时指出具有该最高分成绩的学生是第几个班的第几个学生

 

删掉“,同时指出具有该最高分成绩的学生是第几个班的第几个学生”

3

348页正数第5-14

stu2.studentID = 100310121;

strcpy(stu2.studentName, "王刚");           stu2.studentSex = 'M';

stu2.birthday.year = 1991;

stu2.birthday.month = 5;

stu2.birthday.day = 19;

stu2.score[0] = 72;

stu2.score[1] = 83;

stu2.score[2] = 90;

stu2.score[3] = 82;

 

stu1.studentID = 100310121;

strcpy(stu1.studentName, "王刚");           stu1.studentSex = 'M';

stu1.birthday.year = 1991;

stu1.birthday.month = 5;

stu1.birthday.day = 19;

stu1.score[0] = 72;

stu1.score[1] = 83;

stu1.score[2] = 90;

stu1.score[3] = 82;

 

 

4

371页倒数第3

1          10

1          20

1          10

2          20

 

5

149

 

void main()

{

......         或者

return;

}

排版印刷时漏掉了第一种形式的main函数

6

41页第6行语句

printf("%d", (float)(a * b) / 2);

 

printf("%f", (float)(a * b) / 2);

 

 

7

113页程序第7

magic = rand();

magic = rand() % 100 + 1;

 

8

122页程序第9行与第10行之间

 

counter = 0;   /* 猜下一个数之前,将计数器清0 */

9行与第10行之间插入一条语句

9

216页程序第11

int   score[STUD_N][COURSE_N], sumS[STUD_N], sumC[STUD_N], n;

int   score[STUD_N][COURSE_N], sumS[STUD_N], sumC[COURSE_N], n;

 

10

216页程序第13

float averS[STUD_N], averC[STUD_N];

float averS[STUD_N], averC[COURSE_N];

 

11

217页程序第23

int ReadScore(int score[][COURSE_N], long num[], int n)

void ReadScore(int score[][COURSE_N], long num[], int n)