It seems like there is some error in pointing to array with only one item in it...
//pseudocode...
int cracker[0];
falutyClass{
public:
int *ptr;
}
faultyClass myClass;
setup{
myClass.ptr = &cracker[0];
}
The exact same code works if i change int cracker[0] to int cracker[1].
I do not get any errors from the compiler or so... It just won't work.
Is this an error or am I just plain stupid?