On Saturday, 30 July 2022 at 21:52:42 UTC, frame wrote:
On Saturday, 30 July 2022 at 21:24:50 UTC, pascal111 wrote:
I've typed a code to enjoy with my library "dcollect", and
found non-understandable error:
...
Running screen says:
https://i.postimg.cc/G3YyCmbF/Screenshot-from-2022-07-30-23-23-59.png
Why you don't copy the output instead?
Because copying the running window contents is not allowed, I
couldn't do it in Code::Blocks.
A range violation is the safe error (if bound checking enabled)
that is thrown if you access an index of a range or array that
is out of bounds. You may try to access an index that is larger
than elements in the array.
I think you are right.