質問編集履歴
1
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
### 実現したいこと
|
2
|
-
以下のソースでAにBをディープコピー?
|
2
|
+
以下のソースでAにBをディープコピー?
|
3
|
+
(ポインタの先の内容をコピー)したいのですが、
|
3
4
|
うまくいっていません。
|
4
5
|
bstringCopy()内で実装できるディープコピーの手法を
|
5
6
|
ご教授いただけませんでしょうか。
|
@@ -27,7 +28,7 @@
|
|
27
28
|
test.c
|
28
29
|
|
29
30
|
#include <stdio.h>
|
30
|
-
#inclu
|
31
|
+
#include "test.h"
|
31
32
|
#include <string.h>
|
32
33
|
#include <stdlib.h>
|
33
34
|
|