pat 1022. Digital Library (30)

用STL里的map很简单 要注意的几点: 1.key的分离,网上查到一种比较好的方法ios char *point=book[i].keyWord;//关键词分离 while(*point){ sscanf(point,"%s",str); point+=strlen(str)+1; string stemp(str); mm_keyWord
相关文章
相关标签/搜索