Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Vista and AVG are killing my C++ attempts...

I picked up some books on learning C++ and have followed the first lesson up to the point where my "Hello World!" program has been made. I programmed it exactly like the book says, using the Dev-C++ program. I saved the source code and then compiled it. When I go to run it for the first time(as an .exe) AVG jumps and says it's a friggin' Trojan! It's obviously not, but I still can't imagine why AVG would think such a thing!

So I tell AVG to shut up and I ignore it's attempts to tell me it's a trojan. Then an error dialog box comes up and says the following: "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access them."

I try to run it with "Run as Administrator...", even though I am already an Administrator. Nothing changes, I still get the same bullshit error.

This is my C++ code if it helps:
Code:
#include <iostream>

int main()
{
    std::cout << "Hello World!\n";
    return 0;
}

I really want to learn some programming but can't with these two things getting in my way! Please help!
 
It's a false positive. Get rid of AVG and grab Avast! or ClamWin.

EDIT: If you set up MinGW, you can use Eclipse and NetBeans just as well.
 
Try running Dev C++ in the Windows XP Compatibility Layer?
I do suggest Eclipse, you can set it up to use the same compiler as Dev C++ (MinGW), and it'll run on Vista.
 
I extracted all the files, which there is a shit load of, but I honestly don't know what to do with them. How do I set this beast up with a compiler and everything?
 

___

Sponsor

You can exclude your bin folder from AVG scans. It's remotely possible that you have an infected compiler and that this isn't a false positive, but I've seen AVG do it before.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top