How to prevent the console from running twice?

Asked

Viewed 46 times

1

I have had this same problem in other computers of mine, and even in other Ids as well. The following happens:

When I finish writing my C code and executing it, first appears a prompt for about five seconds. I can test the code within this time limit, however, after 5 seconds it closes with or without my consent.

After that, it opens again a second prompt with the execution of the code starting from 0. This time, this prompt has no time limit like the previous.

This makes the testing process longer, because the prompt runs twice instead of once. It may not look like much, but after a while it becomes extremely annoying.

Would anyone know what it is and how to fix it?

Currently I use Visual Studio Express 2013.

From now on, thank you!

  • I’ll risk you owning the Avast as antivirus, acertei? See if those or those answers solve. Or else, that one asks at Microsoft Dev-center. All of them point to antivirus (being more specific: Avast) as responsible for this behavior.

  • 1

    Renan, thank you so much for your help! That’s what it was. I did the tests after disabling the Avast Anti-virus Deep Screen, and this problem stopped happening. Tell me: I’m new around here. Is there any way I can score your answer or something? Nothing fairer, after all, you helped me.

  • Do not worry about it, for me the reputation is the least. Just knowing that I helped is worth more than the score. If you want, you can publish a reply explaining how you solved it, with details. In the future other users who are going through the same problem may find their answer. :D

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.