#include <iostream>
#include <Algorithm>
#include <string>
#include <vector>
using namespace std;
int main()
{
string s1 = "sgshdhdh";
char buf[100];
size_t l = s1.copy(buf,5); //l 为真实的拷贝数目
size_t l = s1.copy(buf, 5, 3); //5是size 3是开始位置
size_t ind = s1.find("sh");
ind = s1.find("sh",2);
ind = s1.find_first_of("sh");
ind = s1.find_first_of("sh",3);
ind = s1.find_last_of("sh");
ind = s1.find_first_not_of("sh");
ind = s1.find_last_not_of("sh");
string s2 = "IERF";
s1.compare(s2);//s1>s2 大于0
string s3 = s1 + s2;
getline(cin,s1);
getline(cin,s1,'.');//分隔符
//转化为string
string s4 = to_string(1);
s4 = to_string(4.55666);
s1 = "23";
int i = stoi(s1);
system("pause");
return 0;
}