c++ - 我应该如何为我的 Visual Studio 代码设置编译器?
问题描述
当我想运行代码时,它显示
The terminal process terminated with exit code: -1.
cannot open output file test.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
它出什么问题了?我想知道,有什么区别
run task
run build task
run active file
run selected text
起初我可以运行我的代码,但是我发现如果我更改我的代码并再次运行,结果仍然是一样的,我必须按''运行构建任务''并且代码会改变。我可能会更改设置或其他东西,因为现在它不起作用。.\***.cpp
还有一个问题,按右上角的运行按钮和在终端中输入有什么区别?他们是一样的吗?
解决方案
推荐阅读
- python - 将 TensorFlow 模型转换为 TFLITE 格式
- python - 当列表中的红色后跟绿色时,为什么我的 for 循环不改变颜色?
- bluesnap - 创建订单状态码 400 - 服务器错误
- python - Python tkinter 范围标签不显示
- c++ - 函数中的 C++ 和号
- c++ - std::string 类继承和繁琐的 c++ 重载解析 #2
- hibernate - Hibernate 与聚合的关系
- python-3.x - Python3,子进程,总是得到非类型错误
- c++ - 为什么我的窗口没有显示任何 QPixmap 图片?
- r-markdown - 如何在 Xaringan 幻灯片中嵌入视频 (avi/mpg4)