摘要:
c 读文件#include<stdio.h>#include<stdlib.h>#include<string.h>#defineszBUF30000intmain(intargc,char*argv[]){charfilename[szBUF]={0};charbuf[szBUF]={0};chara[szBUF];char*need_find_start="<RoomType>";intlens_start=strlen(need_find_start);char*need_find_end="</Room 阅读全文