News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Please help me solve this issue

Started by Psyche, September 13, 2016, 08:39:06 PM

Previous topic - Next topic

Psyche

Hi! I'm having a problem with codeblocks. Whenever I run a program after coding it shows a blank window. Even if i run a simple program like Hello World it runs and  then a blank screen appears.
Can anyone tell me what i should do to solve this problem? :-[

stahta01

The version of Windows might make a difference; OS Version?

Any reason you are NOT using Code::Blocks version 16.01?

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Psyche

I'm using windows 10.
Ok i uninstalled the previous version and installed the 16.01 version. Still it's showing the same thing.

oBFusCATed

What happens if you open a cmd.exe and run the same executable in it?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Psyche


stahta01

Have you checked for an Anti-Virus issue?

Because, this sounds like either bad code or Anti-Virus program is causing the problem to me.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Psyche

Turns out it was an antivirus issue  ::)
Disabled avast and it works again! :D
Thanks!