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:
I really want to learn some programming but can't with these two things getting in my way! Please help!
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!