Visual Studio找不到我的C ++ hello world文件

#include <iostream>

int main()
{
    std::cout << "Hello World" << endl;
    return 0;
}

When I try to run this code, this message keeps popping up even though I copied and pasted straight from online. There are no build errors either. Here's the error message