質問編集履歴
1
コードがおかしかったので修正しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -18,10 +18,12 @@
|
|
18
18
|
targetStr.replace(pos,CRLF.length(), "");
|
19
19
|
pos += CRLF.length();
|
20
20
|
}
|
21
|
+
pos = 0;
|
21
22
|
while(pos = targetStr.find(CR, pos), pos != std::string::npos) {
|
22
23
|
targetStr.replace(pos,CR.length(), "");
|
23
24
|
pos += CR.length();
|
24
25
|
}
|
26
|
+
pos = 0;
|
25
27
|
while(pos = targetStr.find(LF, pos), pos != std::string::npos) {
|
26
28
|
targetStr.replace(pos,LF.length(), "");
|
27
29
|
pos += LF.length();
|