c++分割字符串

由于C++中没有C#中对字符串Split的操作,最近string使用频率比较高,写了以下两种对字符串进行以想要的切割方式切割。 将字符串分割并转换成对应的进制数 int StringToSystem(string &str, vector<int> &strItem, char TypeName,int System) { int tIndex = 0; int tTemp; if (str
相关文章
相关标签/搜索