answersLogoWhite

0

There are several ways to achieve this programmatically. The normal method is to return from main function. However you can also forcibly terminate a program from any function using exit or abort. A program will also exit if an unhandled exception is thrown.

A user can typically exit a program by closing its window, or by using the program's system menu, file menu, or via a keyboard shortcut such as ALT+F4. If the program has unsaved data you will be prompted.

One program may also close another by posting an app_exit message on the system queue. This is how the operating system instructs programs to close when you choose shutdown or restart, allowing you to save any unsaved data in the process (or cancel the shutdown).

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

How does a algorithm works?

An algoritm is a computer program, that tells the computer, step by step, exactly what you want it to do. The computer then "executes" the program, following each step mechanically, to accomplish the end goal.


Is the nuclear computer program 'SATAN' going to ultimately cause the world to end?

No. No software will cause the world to end.


How can i end a program on the computer that is n I think responding?

try ctrl alt delete


How does an algorithm relate to a computer?

To make a computer do anything, you have to write a computer program. To write a computer program, you have to tell the computer, step by step, exactly what you want it to do. The computer then executes the program, following each step mechanically, to accomplish the end goal. When you are telling the computer what to do, you also get to choose how it's going to do it. That's where computer algorithms come in. The algorithm is the basic technique used to get the job done.


What is a computer program made of?

A computer program contains instructions, to be executed by a computer.


What does wafed mean?

According to the internet, a wafe is a computer application in two parts: a front-end (Wafe) and an application program running as a separate process.


When creating a computer program who is design the structure of the program in a computer system?

when creating a computer program, system analyst design the structure of the program


What is a program option page on your computer?

Computer Program Option Page


What is a program on a computer?

A computer program is a set of rules that guides the computer to do a particular work, for which it is designed.


What is meant by flow of execution a program?

That means to load a computer program into a computer's memory, and have the computer carry out the instructions in the program.


How do you end a frozen program on your computer?

Try holding down ctrl-alt-delete at the same time. A window should come up called windows task manager (If you have windows) you select the program you want to close and click end program. I hope this helps you.:)


Expalin application of computer?

A software application is a program or group of programs designed for end users of low-level programs that interact with the computer at a very basic level.