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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now