#include <iostream>
using namespace std;
int main()
{
cout << "My first friends name is name1.";
cout << "My second friends name is name2.";
cout << "My third friends name is name3.";
cout << "My fourth friends name is name4.";
}
however this code, compiled same file name brings up the following webroot threat identified message
friendnames.exe in" " W32,Trojan.Gen,
#include <iostream>
using namespace std;
int main()
{
cout << "My first friends name is name1.";
cin.get(); // I used this to generate some interactivity, IE press enter to output next name on new line
cout << "My second friends name is name2.";
cin.get();
cout << "My third friends name is name3.";
cin.get();
cout << "My fourth friends name is name4.";
}
i can allow it and all is well until i recompile which means i need to do the allow process again can i make that more permannent ie exclude my C++ files directory such that i dont get these false positives?
Best answer by Barry1
View original