split, midex, replace 基于C函数库字符串函数的基本实现
size_t split(const char *src, const char *delimiter, strarray &stra)
{
stra.clear();
char *temp = (char*)src;
int len_src = strlen(temp);
unsigned long pro;
VirtualProtect(temp, len_src + 1, 0x4
原创
2013-04-04 12:05:19 ·
1465 阅读 ·
1 评论