User forums > Help

Blank Terminal window when running 'Hello World!'

(1/1)

Mal1987:
So I'm very new to C++. Downloaded it yesterday (with the compiler) and tried running the default main.cpp 'Hello World!' file but it just comes up with a blank window with a flashing underscore.

I'm on windows 10 FYI.

I read that it's an anti-virus issue (I'm using AVG), but everyone seems to fix it by temporarily disabling their AV or by adding the Codeblocks folders to the exception list. I've done both and I still can't get it to work... any ideas anyone? Would be appreciated! Thanks.

oBFusCATed:
What is the actual problem? Is your executable able to run? Can you see it in the task manager?

Mal1987:
Thank you for your reply.

I get cb_console_runner.exe coming up in task manager.

Basically i get the below coming up but that's all.

oBFusCATed:
cb_console_runner.exe is the executable responsible for running your executable in a terminal window.
So your executable should be a child process of cb_console_runner.exe.
Is this the case?
Is your executable present in the filesystem while the cb_console_runner.exe is still running?

BlueHazzard:
This for sure is a anti virus problem... Can you try to deactivate it totally? AVG is a terrible anti virus (i know it, because i use it also...)

Navigation

[0] Message Index

Go to full version