I have a mainloop within my C++ program. I also have a function for exception handling.
It's syntax looks like this:
void handleEx(int errorCode) After calling this function I always use continue; to restart my loop, so it looks like this:
if(/*exception occured*/) { handleEx(5); continue; } Is it possible to put the continue; inside the function so I wouldn't have to rewrite that command and the {}?