摘要: //使用库函数排序举例#include <iostream>#include <string>#include <algorithm>//内有排序库函数using namespace std;#ifndef person_h_1 //预定义指令#define person_h_1class person{public: person(const char* name,int age):name(name),age(age){}//构造函数 friend ostream& operator<<(ostream& o,const pe 阅读全文
posted @ 2012-10-14 21:53 真爱无限 阅读(196) 评论(0) 推荐(0) 编辑