+ 8
Code is not working
In cpp when i try to run code acess denied is shown and my mcfee shows that it is a virus What should i do??
11 ответов
+ 2
Shasank Pandey where are you running the c++ code from?
Open your McAfee
Click Real-Time Scanning: On.
Click Excluded Files.
Click Add file.
Browse to, and select, the file or .exe you want to exclude from scans, in your situation the app that your running c++ code on, or the c++ file itself
+ 2
Try to scan the files with another antivirus first, to get a second opinion. If other antivirus also detects threat in the files, then it is better to delete the files and do a whole system scan in attempt to reduce further infection.
Some viruses do damage files beyond repairable state. The only option left in such case is to delete all the infected files and restore them from a clean backup.
+ 2
raynard thank you very much my code run successfully👍👍
+ 1
No way to answer your question cause you didn't share link to the code (assumed it's in your device but not in SoloLearn).
Antivirus programs knows their thing, even though there exists false alarm possibility.
I would delete that script just to be on the safe side. But if you get this warning for all your code, then *maybe* it's an issue with the antivirus program.
+ 1
So how can i remove that thing?
+ 1
I have faced the same issue and to my surprise , it was because of an infinite loop in my program which was running in the background . Whenever this happens , go to your task manager and terminate your running program from there .
+ 1
Shasank Pandey yes,then exclude Vscode application from the mcafee scan using the steps i gave you
+ 1
Shasank Pandey no problem bro
0
If its ur own code that you wrote,It is most likely a false positive,just ignore it or if there is an option to put whatever ide you are running it from to the whitelist,do it.
But if its from the internet,i suggest you scan the file in virus total,and read through the source code to check if theres any malicious activity
0
My file of cpp when i click on run button then mcafee antivirus displayed in to quarantined item when i restore it and run again then again that bloody mcfee set up into quarantined item how can i run pls help me 😔
0
I run from vs code from my laptop