Thread: Console on Windows

  1. #1
    Registered User RoseFlambe's Avatar
    Join Date
    Dec 2010
    Posts
    3

    Console on Windows

    Hello. I started learning C++ on a Mac, and on the Mac when I ran something like, "when I input this, output this," the console would stay up so that I could see the output. Now, I wanted to try doing my homework on my laptop so I downloaded Dev-C++, except that when I run something either I press 'Enter' and it exits or it exits when it's done running the program. Did I do something wrong or is there a way to make the console stay up so that I can see the output?

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    So run the console. (Start -> Accessories -> Command Prompt)

    EDIT: Aaaaaaaaaaaaaaaah Dev-C++. It's like a zombie; it just won't die. If you can switch to something like Code::Blocks you'll be happier. (Plus C::B, if you run it inside the IDE with Ctrl-F10 automatically does the "keep the console open" thing.)

  3. #3
    Registered User RoseFlambe's Avatar
    Join Date
    Dec 2010
    Posts
    3

    Smile

    A zombie..? That doesn't sound good at all. Thanks a bunch though, I'll do that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling C in Visual Studio 2005
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-16-2009, 04:25 AM
  2. Question about console and windows programming
    By Unregistered in forum Windows Programming
    Replies: 2
    Last Post: 06-22-2002, 05:46 AM
  3. multiple console windows
    By gordy in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 02-13-2002, 11:05 PM
  4. Just one Question?
    By Irish-Slasher in forum C++ Programming
    Replies: 6
    Last Post: 02-12-2002, 10:19 AM
  5. windows dos console
    By dune911 in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 01-16-2002, 11:30 PM

Tags for this Thread