|
From: David C. <bey...@gm...> - 2006-06-01 21:43:08
|
umm...
Just put return into your code, and it'll work.
ex.
void doSomething()
{
if (logicNotMet)
return
else
// do something;
}
On 6/1/06, Erik Schmidt <esc...@gm...> wrote:
>
> is there a way to return or break a method of type void without
> throwing an exception?
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|