你好,是所有的程序的都无法运行嘛?你可以打开visual studio installer 尝试修复一下吧,然后新建一个项目试试。
#include<iostream> using namespace std; int main() { int a = 1; cout << a << endl; return 0; }