You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tools/onlinecompilers.md
-39Lines changed: 0 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,42 +96,3 @@ int main()
96
96
}
97
97
}
98
98
```
99
-
100
-
101
-
### cee.studio
102
-
[cee.studio](https://www.cee.studio/) は、C, C++ プログラムを実行して、セグメンテーション違反などメモリに関する問題が発生したときに、その箇所と原因をわかりやすく表示する機能を持つオンラインコンパイラです。バッファオーバーラン、Null ポインタの参照外し、未初期化変数の利用などの問題を明らかにします。オンライン IDE で「Run in Guarrail」モードで実行することでメモリのデバッグを行えます。
103
-
104
-
入力例
105
-
```C++
106
-
#include<iostream>
107
-
108
-
intmain()
109
-
{
110
-
const char s[] = { 'A', 'B', 'C' };
111
-
112
-
std::cout << s << '\n';
113
-
}
114
-
```
115
-
116
-
出力例
117
-
```
118
-
Memory access error: reading from the outside of a memory space; abort execution.
119
-
# Reading 4 bytes from 0x981cdd4 will read undefined values.
120
-
#
121
-
# The memory-space-to-be-read (start:0x981cdd4, size:3 bytes) is bound to 's' at
122
-
# file:/prog.cc::5, 0
123
-
#
124
-
# 0x981cdd4 0x981cdd6
125
-
# +------------------------------+
126
-
# | the memory-space-to-be-read |......
127
-
# +------------------------------+
128
-
# ^~~~~~~~~~
129
-
# the read starts at the memory-space begin.
130
-
#
131
-
# Stack trace (most recent call first) of the read.
0 commit comments