大文本数据排序及二分法
#define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<stdlib.h> char **g_pp;//保存指针数组 #define N 28 struct index { int *pindex; int length; }allindex;//索引 int getN() { FILE *pf = fopen("file.txt", "r"); if (pf==NULL) { return -1; } else { int i = 0; while (!feof(pf)) { char str[50] = { 0 }; fgets(str, 50, pf);//读取 i++; } fclose(pf); return i; } } void eatN(char *str) { while (*str!='