error Microsoft Visual C++ 14.0 is required问题最佳解决方法

error: Microsoft Visual C++ 14.0 is required问题最佳解决方法

安装下面链接的vs,安装步骤默认即可

visualcppbuildtools_full.exe

测试vs是否安装成功

1.准备代码hello_world.c

#include<stdio.h> 
int main()

{
    
    
    printf("hello vs build tools.\n");
    printf("press any key to exit.\n");
    getchar();
    return 0;
}

2. 编译

执行:cl hello_world.c后可看到生成两个文件,分别是hello_world.obj和hello_world.exe,即安装成功

猜你喜欢

转载自blog.csdn.net/better_boy/article/details/107964854
今日推荐