I was told that,
int* i = new int();
I would not be able to check my pointer to 0. newsend an exception if it fails. But what if I don't want to use exceptions for reasons. Is there a way to check if my pointer is highlighted correctly?
source
share