faqts : Computers : Programming : Languages : C++

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

0 of 10 people (0%) answered Yes
Recently 0 of 10 people (0%) answered Yes

Entry

How Can I Close a Execute Windows when a user decided to exit program

Aug 22nd, 2002 16:08
Rafael Fernandez, lan quynh,


Make a if structure that the program closes when a especific task is 
made.
 if ( userinput == '0' ) {
          return 0; //if userinput is 0 it will close the program. 
}