我想删除大字符串(不是文件)中的空行。 这是字符串:删除大字符串中的空行
The unique begin of a line in my string, after that a content same endline
The unique begin of a line in my string, after that a content same endline
The unique begin of a line in my string, after that a content same endline
这是怎么出现在记事本++:
你永远不会初始化'OldCaractere','NumberReturnCaractere','NumberDoubleReturnCaractere'所以它们包含垃圾。 – VTT
为什么不使用strstr来查找\ n \ n或类似的东西? – ArBel
正如你有这个要求,你可以改变你的设计是一个'std :: vector>或'std :: list >'外容器中的每个元素是原始文本的一行? –