2 ms·
> How do other languages solve this problem? Reading or writing past the allocated parts of a buffer is treated as a runtime error, wheras in C/C++ you just en
by Skinney 13y ago
> How do other languages solve this problem?
Reading or writing past the allocated parts of a buffer is treated as a runtime error, wheras in C/C++ you just end up with corrupted memory.
> Have you ever heard about smart pointers?
Ahh, completely forgot about these. You're right, they're great.