回答編集履歴

1

追加

2017/10/24 00:02

投稿

A.Ichi
A.Ichi

スコア4070

test CHANGED
@@ -57,3 +57,51 @@
57
57
  #define hogehoge "hogehoge"
58
58
 
59
59
  ```
60
+
61
+
62
+
63
+ その他
64
+
65
+ ```c
66
+
67
+ #include <stdio.h>
68
+
69
+ #include <stdlib.h>
70
+
71
+ #include "hogehoge.h"
72
+
73
+
74
+
75
+ int main(){
76
+
77
+ char str[256]="a";
78
+
79
+ int i;
80
+
81
+ printf("%s\n",hogehoge);
82
+
83
+
84
+
85
+ for(i=0; (i+1)<256; i++){
86
+
87
+ str[i+1] = str[i];
88
+
89
+ }
90
+
91
+
92
+
93
+ for(i=0; i<256; i++){
94
+
95
+ printf("%c",str[i]);
96
+
97
+ }
98
+
99
+ printf("\n");
100
+
101
+
102
+
103
+ return 0;
104
+
105
+ }
106
+
107
+ ```