回答編集履歴
2
並び順間違い修正
test
CHANGED
@@ -60,7 +60,7 @@
|
|
60
60
|
|
61
61
|
void func(){
|
62
62
|
|
63
|
-
int out = 0b101
|
63
|
+
int out = 0b0101;
|
64
64
|
|
65
65
|
control(out);
|
66
66
|
|
@@ -76,7 +76,7 @@
|
|
76
76
|
|
77
77
|
//値設定の4つ並びがイヤだということなら、
|
78
78
|
|
79
|
-
//out=0b00
|
79
|
+
//out=0b1100;
|
80
80
|
|
81
81
|
control(out);
|
82
82
|
|
1
誤記修正
test
CHANGED
@@ -68,11 +68,11 @@
|
|
68
68
|
|
69
69
|
clrBit(&out,0);
|
70
70
|
|
71
|
-
clrBit(&out,
|
71
|
+
clrBit(&out,1);
|
72
72
|
|
73
|
-
setBit(&out,
|
73
|
+
setBit(&out,2);
|
74
74
|
|
75
|
-
setBit(&out,
|
75
|
+
setBit(&out,3);
|
76
76
|
|
77
77
|
//値設定の4つ並びがイヤだということなら、
|
78
78
|
|