C++编程
C++通过STL或者标准库,实现字符串整合:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
字符串每行为8个字符或16个字符,将相邻的8个字符或16个字符合并,例如将原始字符为:
aabbccdd
aabbccddeeffeeff
aabbaabbccddddcc
9999888812344321
12345678
1234abcdcdef1234
abcd1234
efccd4567
bcdef123
整合为
aabbccdd
aabbccddeeffeeffaabbaabbccddddcc9999888812344321
12345678
1234abcdcdef1234
abcd1234efccd4567bcdef123
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
如何实现????