Thread: Close console without hitting enter

  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    38

    Close console without hitting enter

    Hi,
    is it possible to close the console window without getting the user hit enter at the end of the programme?Im using MS visual express2008,

    regards
    Cathalo

  2. #2
    Registered User
    Join Date
    Mar 2007
    Posts
    416
    Are you talking about running it from the IDE? There should be an option (don't know where on VExpress) that says "hold window open when finished" or the like. Otherwise it should just close when run outside of the IDE unless you put some code to hold it open.

  3. #3
    DESTINY BEN10's Avatar
    Join Date
    Jul 2008
    Location
    in front of my computer
    Posts
    804
    Quote Originally Posted by Cathalo View Post
    Hi,
    is it possible to close the console window without getting the user hit enter at the end of the programme?Im using MS visual express2008,

    regards
    Cathalo
    I don't think so. You have to hit a key at the end of the program.
    HOPE YOU UNDERSTAND.......

    By associating with wise people you will become wise yourself
    It's fine to celebrate success but it is more important to heed the lessons of failure
    We've got to put a lot of money into changing behavior


    PC specifications- 512MB RAM, Windows XP sp3, 2.79 GHz pentium D.
    IDE- Microsoft Visual Studio 2008 Express Edition

  4. #4
    Registered User
    Join Date
    Mar 2008
    Posts
    71
    Interesting, user usually have the opposite problem

  5. #5
    Registered User
    Join Date
    Feb 2009
    Posts
    38
    Quote Originally Posted by G4B3 View Post
    Interesting, user usually have the opposite problem
    Dont I know!think my first ever question was'how do you keep the console window open'

    Will check in the options menu.Tried googling but firewall in work wont let me go to the sites

    Thanks

  6. #6
    Banned ಠ_ಠ's Avatar
    Join Date
    Mar 2009
    Posts
    687
    try using the google cache
    ╔╗╔══╦╗
    ║║║╔╗║║
    ║╚╣╚╝║╚╗
    ╚═╩══╩═╝

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 02-22-2009, 11:50 PM
  2. Help with hitting 'enter'
    By K-Zodron in forum C++ Programming
    Replies: 4
    Last Post: 06-02-2005, 08:20 AM
  3. Console Window Dissapears after hitting Enter
    By Sentral in forum C++ Programming
    Replies: 5
    Last Post: 05-29-2005, 02:30 PM
  4. Hitting enter while FOCUS on an EDIT
    By Garfield in forum Windows Programming
    Replies: 8
    Last Post: 09-02-2003, 10:26 AM
  5. Replies: 1
    Last Post: 09-15-2002, 04:56 AM