2013年3月27日

数据结构-快速排序

摘要: // Header.h//定义函数指针别名typedef int ( *PFI2S ) ( const string &, const string & );//函数声明int lexicoCompare( cnost string &, const string & );int sort( str... 阅读全文

posted @ 2013-03-27 23:55 醉清风JM 阅读(178) 评论(0) 推荐(0)

C++-IO操作之从文件读取输出到标准输出

摘要: #include int main(){ cout >file_name; //打开文件copy.out用于用户输入 ifstream inFile( filename.c_str() ); if ( !inFile ) { cerr << "unable to open ... 阅读全文

posted @ 2013-03-27 23:06 醉清风JM 阅读(224) 评论(0) 推荐(0)

导航