标签:
int main(int argc, const char * argv[]) { // insert code here... string a = "a"; cout<<a.size()<<endl; cout<<a.size()-1<<endl; cout<<a.length()<<endl; cout<<a.length()-1<<endl; return 0; }
输出:
0
18446744073709551615
0
18446744073709551615
标签:
原文地址:http://www.cnblogs.com/XingyingLiu/p/5091283.html