大きな文字列(ファイルではない)の空行を削除したいと思います。 これは文字列です:大きな文字列の空行を削除する
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
これは、それが++メモ帳に表示される方法です:
あなたは '、'、 '彼らはゴミが含まれているので、NumberDoubleReturnCaractere'をNumberReturnCaractere'をOldCaractere'を初期化することはありません。 – VTT
strstrを使用して\ n \ nやそのようなものを探すのはどうしてですか? – ArBel
この要件があるので、デザインを 'std :: vector' 'または' std :: list > 'に変更できます。ここで、外側のコンテナの各要素は元のテキストの1行ですか? –