C++学习记录之string操作函数

代码: #include<iostream> #include<string> using namespace::std; int main(void) { string str1 = ("abcccccdefg"); string str2 = ("abc"); char STR[7] = {0}; cout << (str1 > str2) << endl;//true or flase co
相关文章
相关标签/搜索