User forums > Help

AVG just thought that my Hello World program was a Trojan.

<< < (2/2)

minimildew:
Yes, I'm aware of my very limited knowledge (I'm attempting to learn, the hello world program is the first program I've created). I just wanted to know if there was any chance of danger to my PC. Thank you for your time.

LauraC:
I just started learning C++, and I couldn't do anything with CB because AVG kept telling me the files were infected.  Did some research, dumped AVG, and got Avast (free).  No probs now.  =)

GenesisArk:
I had that same problem, AVG thought that my C++ was a trojan. Well, I found this out after adding an exception in Avast! because it would auto-sandbox the programs. I wonder why such simple programs cause so much trouble. Here is my "Trojan" program:


--- Code: ---#include <iostream>

using namespace std;

int main() {
     cout<<"Hello world";
     cin.get();
}
--- End code ---

BlueHazzard:

--- Quote from: GenesisArk on August 23, 2013, 03:22:06 am ---I had that same problem, AVG thought that my C++ was a trojan. Well, I found this out after adding an exception in Avast! because it would auto-sandbox the programs. I wonder why such simple programs cause so much trouble. Here is my "Trojan" program:

--- End quote ---

I don't think that the "Hello World" code is the problem, but the compiler witch create a exe. AVG (and many other av-software) think that a .exe created from a program must be a "Trojan" or "Virus"... The average dau nowadays isn't a programmer any more, but this goes into ot...

greetinga

fred_76:
Hi!

I posted a tweak to this problem. It is here :
http://forums.codeblocks.org/index.php/topic,19491.0.html

Fred

Navigation

[0] Message Index

[*] Previous page

Go to full version