摘要:
头文件:string(无.h!)string类的构造函数与析构函数:1、string s;2、string s(str);// copy str to s;3.string s(str, strhead);//copy str to s from the strhead position4.string s(str,strhead,strtail);//copy str to s from strhead to strtail5.string s(cstr);//copy a c string to s;6.string s(char*, char*len);//copy a c string 阅读全文
浙公网安备 33010602011771号