3 ms·
Systems languages like C++ and C don't usually do error handling that way. You do have try/catch in C++ but folks often disable it. And even if you don't disab
by Manishearth 9y ago
Systems languages like C++ and C don't usually do error handling that way. You do have try/catch in C++ but folks often disable it.
And even if you don't disable it, out of bounds array access will cause segfaults, not exceptions (unless you're using some abstraction over arrays).