So, first time code-writer here. I just got VSC and am trying to do your typical "Hello World" basic line in the output. Nothing harmful. When I run the code (shown below) I am immediately met by Avast saying they blocked me from Win32:MalwareGen. I did not think saying hello would be so dangerous.
Input
#include <iostream>
// first comment! Woo!
int main()
{std::cout << "Hello World!";}
Output
[Running] cd "my file locations" && g++ main.cpp -o main && "more file locations
Access is denied.
[Done] exited with code=1 in 3.55 seconds
If anyone has a suggestion as to how I can convince my computer I'm not making malware, that would be really awesome! Thank you!