ChinaUnix.net
相关文章推荐:

multiset的比较函数

[code] FILE* fpSrcFile; //定义读取的源文件指针 multiset ::iterator ms_Iter; multiset < string,less > vect; char sLineContent[500]; //打开需要转换的源文件 fpSrcFile= fopen( "D:\\排序\\test.txt", "r" ); if ( fpSrcFile == NULL ) { printf( "Can not open Src file [%s]", "D:\\排序\\aaa.txt" ); return -1; } cout <<"从文件中读取数据到容器中.......................\n"<

by foolishfox - C/C++ - 2006-01-10 15:53:36 阅读(1801) 回复(3)

相关讨论