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 8349239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:56:03+00:00 2026-06-09T07:56:03+00:00

I decided to spend some time with C++ again and that’s why I downloaded

  • 0

I decided to spend some time with C++ again and that’s why I downloaded the IDE named Dev-C++ in the newest version this day.

From learning C++ some years ago, I remembered that a console window would immediately close after the main() function exits.

int main() {}

But the code line above doesn’t let the console window only flash and disappear. Instead of this behaviour – which I actually expected – the console window appears and shows me the following message.

Process exited normally.
Press any key to continue . . .

Was there a change I hadn’t noticed in the last years? I can’t remember the IDE to do these strange things and still less I can believe that the GCC compiler changed this way!

What’s going on with my console application and how can I prevent the culprit from doing this?!

Update: To make things clear, this behaviour might be a so called feature. But I do not want to use this feature, because my application is used to set up a folder structure without showing any output. And, by the way, my operating system is Windows 7.

  • 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-09T07:56:06+00:00Added an answer on June 9, 2026 at 7:56 am

    That is unrelated to the compiler or toolchain, but rather how the IDE is creating the consoles/terminals. I actually find it better to leave the windows open (in case there is any output that I want to verify).

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

Sidebar

Related Questions

I've spent some time with new Database project in VS 2008 and decided to
Every time I need to design a new database I spend quite some time
I finally decided to post a question here after some time spent trying to
I was revisting some code I wrote a long time ago, and decided to
I'm on break from classes right now and decided to spend my time learning
I decided to try to my hand at this, and have had a somewhat
I've spent some time trying to find a way CodeRush could add using when
After experiencing some performances issues on my client side, we decided to give a
There are a few questions around that circle around this question but I feel
I realize this question has most likely been beaten to death, and that it's

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.