teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

2

微修正

2019/11/19 11:33

投稿

episteme
episteme

スコア16612

answer CHANGED
@@ -8,7 +8,7 @@
8
8
  };
9
9
  ```
10
10
 
11
- [2] DrawFormatString(300, 300, Green, "%d", str1->pos);
11
+ [2] DrawFormatString(300, 300, Green, "%d", str1.pos);
12
12
 
13
13
  [3] pos[0] / pos[1] / pos[2] 好きなの選べ
14
14
 

1

微修正

2019/11/19 11:33

投稿

episteme
episteme

スコア16612

answer CHANGED
@@ -1,4 +1,4 @@
1
- 1. たとえば
1
+ [1] たとえば
2
2
 
3
3
  ```C++
4
4
  class Str {
@@ -8,11 +8,11 @@
8
8
  };
9
9
  ```
10
10
 
11
- 2. DrawFormatString(300, 300, Green, "%d", str1->pos);
11
+ [2] DrawFormatString(300, 300, Green, "%d", str1->pos);
12
12
 
13
- 3. pos[0] / pos[1] / pos[2] 好きなの選べ
13
+ [3] pos[0] / pos[1] / pos[2] 好きなの選べ
14
14
 
15
- 4. [マニュアル](https://docs.microsoft.com/ja-jp/cpp/c-runtime-library/format-specification-syntax-printf-and-wprintf-functions?view=vs-2019#precision-specification)参照
15
+ [4] [マニュアル](https://docs.microsoft.com/ja-jp/cpp/c-runtime-library/format-specification-syntax-printf-and-wprintf-functions?view=vs-2019#precision-specification)参照
16
16
 
17
- 5. const char* : 書き換えを許さない(const)文字(char)の列の頭を指すポインタ(*)
17
+ [5] const char* : 書き換えを許さない(const)文字(char)の列の頭を指すポインタ(*)
18
18
    つまり文字列定数