Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9258537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:25:51+00:00 2026-06-18T12:25:51+00:00

This is a general question, and one that I have yet to find a

  • 0

This is a general question, and one that I have yet to find a good solution.

First, some pretext. I’m new to programming and all I have done (mainly anyway) are sequential programs in C.

This leads me to wonder how do big programs such as word, photoshop,visual studio etc. work.

To be less vauge, how do they remain open for one? All the programs I have written are top to bottom, the code runs and then the program terminates. Also What always user to say click save and the file writes or to click font and change the font. Clearly these operations can be performed in any order, infintely many times.

In general I do not see from my limited experiecne how real world applications are made. I want to try and make something “real” or useful, but school has not yet begun to teach me where to start.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:25:52+00:00Added an answer on June 18, 2026 at 12:25 pm

    Most desktop applications are programmed using a style called event-driven programming. In this setup, the program usually looks (at a very high level) like this:

    while (true) {
        wait for an event to occur.
        react to that event.
    }
    

    These “events” tend to be things like mouse clicks, keyboard events, window resizings, etc. Typically, event-driven programs set up windows and attach pieces of code to them so that when an event occurs, the given piece of code can run. Each piece of code that’s attached tends to look exactly like what you’ve seen – it executes from the top to the bottom in a normal fashion. The fact that different events can happen in different orders just means that they run when the user asks them to.

    Every language and framework has their own way of handling events, so I’d recommend consulting the documentation for your favorite language / system for more details.

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am asking this question, because I didn't find yet any posts that are
First of all, I apologize for yet another interface question. I thought that this
This is a general programming question, not pertaining to any specific language. A new
This is a general question. What are some techniques you employ to prevent the
This is a general question of sorts, but do you think that it's important
I have a rather basic C++ question: Consider a function that takes some input
This question concerns the reflection mechanisms of the java programming language. I have an
This is most certainly a language agnostic question and one that has bothered me
This is more of a general question as I have found relatively little information
This is a more general question: I have a quite complicated files table in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.