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
相關文章
相關標籤/搜索