I note that this code runs fine once compiled under friendnames.exe.
#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?
Solved
Learning C++
Best answer by Barry1
Thanks -Dan,
I will be happy to enage with the support teams , i brought the issue to the forums because in all honesty, once i understood how the programe worked i was very unlikely to ever run it again. My fear is that i come across this with an awful lot of programes as the one i supplied is really a very simple programe.
I have logged it under threat false -positive Thanks -Dan
I will be happy to enage with the support teams , i brought the issue to the forums because in all honesty, once i understood how the programe worked i was very unlikely to ever run it again. My fear is that i come across this with an awful lot of programes as the one i supplied is really a very simple programe.
I have logged it under threat false -positive Thanks -Dan
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
