摘要: 缘起:《c++ primer》 4th, 528页,习题16.3源程序#include #include #include using namespace std;templateint compare(const S &v1, const S &v2){ if (v1 v2) return 1; else return 0;}int main(){ string s1 = "hi"; string s2 = "world"; cout #include using namespace std;templateint compare... 阅读全文
posted @ 2013-09-25 20:52 jihite 阅读(905) 评论(0) 推荐(0)