三级培训真题分析新 很好留用.ppt

3%(66-75套) 字符串替代 13 3%(76-78套) 字符串改写 14 6%(79-84套) 字符串排序 15 包括若干字符串排序、某个字符串中的字符排序或按照要求排序 5%(85-89套) 字符串移动 16 3%(90-92套) 遍历统计、移动或倒排 17 抽中率 知识点覆盖 序号 第90套 #include stdio.h #include string.h #include conio.h char xx[50][80]; int maxline = 0; /* 文章的总行数 */ int ReadDat(void); void WriteDat(void); void StrOR(void) { } void main() { if (ReadDat()) { printf(数据文件IN.DAT不能打开!\n\007); return; } StrOR(); WriteDat(); } int ReadDat(void) {FILE *fp; int i = 0; char *p; if ((fp = fopen(IN.DAT, r)) == NULL) return 1; while (fgets(xx[i], 80, fp) != NULL) { p = strchr(xx[i], \n); if (p)

文档评论(0)

1亿VIP精品文档

相关文档