I was told that by doing,
int* i = new int();
I would not be able to check my pointer for 0. new
send a exception in case it fails. But what if I don't want to use exceptions for reasons. Is there any way to check if my pointer is correctly allocated ?