The thing is I don't know how to move the splitted elements into an associative hash, for example:
thanksCode:string line = "key: value\r\n"; chomp(line); map<string,string> hash; hash.insert(make_pair((...),(...)));
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: std::string splitThreaded View
|
Click Here to Expand Forum to Full Width |