Jump to content

COMO UTILIZAR O CTRL-D PARA TERMINAR UM PROGRAMA


duarte_figuei
 Share

Recommended Posts

boa tarde,

Preciso de implementar num programa um comando que termina a execuçao do mesmo. Para isso o comando é "exit" (que já esta implementado e a funcionar) e quando se pressiona Ctrl-d. Isto é, quando se prme ctrl-d ou se escreve exit o programa termina a sua execuçao.

Agradecia que me ajudassem a perceber como e que devo implementar o ctrl-d.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.