質問編集履歴
1
エラー処理の部分を変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -250,13 +250,13 @@
|
|
250
250
|
|
251
251
|
cout << "キー:" << key << ','
|
252
252
|
|
253
|
-
<< "cx:" << c2pMap_new
|
253
|
+
<< "cx:" << c2pMap_new.at(key).cx << ','
|
254
|
-
|
254
|
+
|
255
|
-
<< "cy:" << c2pMap_new
|
255
|
+
<< "cy:" << c2pMap_new.at(key).cy << ','
|
256
|
-
|
256
|
+
|
257
|
-
<< "px:" << c2pMap_new
|
257
|
+
<< "px:" << c2pMap_new.at(key).px << ','
|
258
|
-
|
258
|
+
|
259
|
-
<< "py:" << c2pMap_new
|
259
|
+
<< "py:" << c2pMap_new.at(key).py << "\n";
|
260
260
|
|
261
261
|
|
262
262
|
|
@@ -276,6 +276,10 @@
|
|
276
276
|
|
277
277
|
|
278
278
|
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
|
279
283
|
ofstream os("c2p_map.csv");
|
280
284
|
|
281
285
|
for (int key = 0;key < WINDOWWIDTH * WINDOWHEIGHT;key++)
|
@@ -286,13 +290,13 @@
|
|
286
290
|
|
287
291
|
{
|
288
292
|
|
289
|
-
os << c2pMap_new
|
293
|
+
os << c2pMap_new.at(key).cx
|
290
|
-
|
294
|
+
|
291
|
-
<<"," << c2pMap_new
|
295
|
+
<<"," << c2pMap_new.at(key).cy
|
292
|
-
|
296
|
+
|
293
|
-
<< "," << c2pMap_new
|
297
|
+
<< "," << c2pMap_new.at(key).px
|
294
|
-
|
298
|
+
|
295
|
-
<< "," << c2pMap_new
|
299
|
+
<< "," << c2pMap_new.at(key).py << endl;
|
296
300
|
|
297
301
|
}
|
298
302
|
|