Thread: Console to interface

  1. #1
    Registered User
    Join Date
    Nov 2007

    Console to interface

    First off, I'm a C++ novice.

    I've been wondering what the difference is (in the coding) between programs that run in the console, and programs that have a user interface. For example, a calculating program in the console that prompts for a number, then an operation, then another number, versus the Windows Calculator, which has a simple interface for ease. I assume they do the same things behind the scenes, and figured that they were coded similarly.

    How does a program go from running in the console to being controlled by a user interface?

  2. #2
    Registered User valaris's Avatar
    Join Date
    Jun 2008
    RING 0
    At least in c# its the same thing primarily. Most of the UI elements are triggered by events and you just react to those, instead of waiting for a user input in a console program at say a menu. The actual algorithms to process things are pretty close in both console and gui apps, but the way of displaying them back is different.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Console applications interface
    By mariano_donati in forum C Programming
    Replies: 7
    Last Post: 04-19-2008, 05:10 PM
  2. Adding interface to Win32 console application
    By motiz in forum Windows Programming
    Replies: 5
    Last Post: 01-03-2008, 03:17 AM
  3. Console User Interface : A Project
    By ra21vi in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 02-01-2006, 01:41 PM
  4. application console interface
    By Laurie8 in forum Windows Programming
    Replies: 4
    Last Post: 11-30-2005, 01:34 PM
  5. Replies: 4
    Last Post: 10-17-2002, 03:54 PM