// StrLenDemo.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <iostream>
#include <string>
using namespace std;
int main()
{
string str;
char sz1[] = "a世界那么大b我想去看看";
int len = strlen(sz1);
for (size_t i = 0; i < len;)
{
if (sz1[i]<0)
{
str.push_back(sz1[i]);
i++;
str.push_back(sz1[i]);
}
i++;
}
cout << str << endl;
}