回答編集履歴

2

焦るとヤバイ。綴ミス

2019/05/04 01:58

投稿

Chironian
Chironian

スコア23272

test CHANGED
@@ -22,11 +22,11 @@
22
22
 
23
23
  public:
24
24
 
25
- Double2D(size_t iHight, size_t iWidth) : Base(iHight, std::vector<double>(iWidth , 0.0))
25
+ Double2D(size_t iHeight, size_t iWidth) : Base(iHeight, std::vector<double>(iWidth , 0.0))
26
26
 
27
27
  {
28
28
 
29
- for (size_t i=0; i < iHight; ++i)
29
+ for (size_t i=0; i < iHeight; ++i)
30
30
 
31
31
  {
32
32
 
@@ -94,7 +94,7 @@
94
94
 
95
95
  ```
96
96
 
97
- [wandbox](https://wandbox.org/permlink/A7rns78UPyCk2kgR)
97
+ [wandbox](https://wandbox.org/permlink/tEpWbi85IeHmOa2b)
98
98
 
99
99
 
100
100
 

1

columnとrowを間違ってしまった

2019/05/04 01:57

投稿

Chironian
Chironian

スコア23272

test CHANGED
@@ -22,15 +22,15 @@
22
22
 
23
23
  public:
24
24
 
25
- Double2D(size_t iCol, size_t iRow) : Base(iCol, std::vector<double>(iRow, 0.0))
25
+ Double2D(size_t iHight, size_t iWidth) : Base(iHight, std::vector<double>(iWidth , 0.0))
26
26
 
27
27
  {
28
28
 
29
- for (size_t i=0; i < iCol; ++i)
29
+ for (size_t i=0; i < iHight; ++i)
30
30
 
31
31
  {
32
32
 
33
- for (size_t j=0; j < iRow; ++j)
33
+ for (size_t j=0; j < iWidth ; ++j)
34
34
 
35
35
  {
36
36
 
@@ -94,7 +94,7 @@
94
94
 
95
95
  ```
96
96
 
97
- [wandbox](https://wandbox.org/permlink/ztlWhTvLpPFSUCK7)
97
+ [wandbox](https://wandbox.org/permlink/A7rns78UPyCk2kgR)
98
98
 
99
99
 
100
100