In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces "how to use string segmentation function in C++". In daily operation, I believe many people have doubts about how to use string segmentation function in C++. The editor consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "how to use string segmentation function in C++". Next, please follow the editor to study!
Where str1 is the string to be split and str2 is the string used to split.
CString* GetStr (CString str1, CString str2, int & num) {int long1=str1.GetLength (); int long2=str2.GetLength (); int sign=0; char*ch2=new char [long1]; char*ch3=new char [long2]; strcpy (ch2,str1); strcpy (ch3,str2); int iMag0; while (1) {if (j==long1) break; if (CH2 [j] = = CH3 [I]) {+ + j; + + I; + + sign; if (sign==long2) {iLife0; sign=0; + + num }} else {jackers; sign=0;}} num++; / / num++; iTunes 0; jacks 0; sign=0; CString*str=new CString [num]; int begin=0,end=0; int nasty 0; while (1) {if (j==long1) {/ / nkeeper; for (int kryptonite)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.