摘要:
// TemplateFunction.cpp : Defines the entry point for the console application. // #include "stdafx.h" template T MyMax(T a,T b) { return a>b ? a : b; } int main(int argc, char* argv[]) { i... 阅读全文
posted @ 2017-02-14 23:43
sky20080101
阅读(148)
评论(0)
推荐(0)
摘要:
#include #include using namespace std; void main() { string s="Hello Lucy!"; //s.replace(5,1,"Lily"); //"Lucy" -> "Lily" int indexStart=s.find("Lucy"); string l("Lily"); in... 阅读全文
posted @ 2017-02-14 09:17
sky20080101
阅读(233)
评论(0)
推荐(0)

浙公网安备 33010602011771号