subassa Posted October 4, 2013 Report Share Posted October 4, 2013 hola a todos, queria preguntarle a algun programador una inquietud que tengo sobre el metodo void. ¿hay alguna forma de parar repentinamente el metodo sin que este llege al final de su recorrido?, muchos me han respondido que con un break se podria salir antes del metodo. ¿hay alguna otra forma? Muchas gracias por su tiempo. Link to comment Share on other sites More sharing options...
xomarx69 Posted October 4, 2013 Report Share Posted October 4, 2013 qué tal con exit(0); o exit(1); ? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now