2 ms·
I do not know how to do it on any platform. My problem is this: void f(int n) { float t[n]; // what do I write here to check i
by enriquto 7y ago
I do not know how to do it on any platform.
My problem is this:
void f(int n)
{
float t[n];
// what do I write here to check if everything is OK ?
...
}
- dmitrygr 7y agoModern gcc handles this very well actually. Here: https://gcc.gnu.org/onlinedocs/gccint/Stack-Checking.html https://gcc.gnu.org/onlinedocs/gccint/Stack-Checking.html