error: Microsoft Visual C++ 14.0 is required问题最佳解决方法
安装下面链接的vs,安装步骤默认即可
测试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,即安装成功