【c语言】visual stdio code报错

aaaa_l323 2020-04-16 07:17:59

Visual Studio Code

Unable to start debugging .Program path ' e:\vscode .exe'is missing or invalid .

GDB failed with message :e :\vscode .exe:No such file or directory .

This may occur if the process's executable was changed after the process was started ,such as when installing an update .Try re-launching the application or restarting the machine .

launch .json
如果写一个简单的hello world就不会出现这个问题
都弄一天了还没有弄明白大神求解啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
...全文
962 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
nitingfengling 2020-05-06
  • 打赏
  • 举报
回复
先看看当前文件夹下.exe文件成功生成了没有,如果成功生成了,可能是文件路径里有中文或者空格,换个全英文的文件名试试
棉猴 2020-04-17
  • 打赏
  • 举报
回复
来来来,一起做 1 文件->新建->创建 2 Win32->Win32控制台程序 3 Win32向导 4 编写Hello World
#include <stdio.h>

int main()
{
	printf("Hello World!\n");
    return 0;
}
aaaa_l323 2020-04-17
  • 打赏
  • 举报
回复
已经解决了,文件名字不能为中文,可以通过改settings的方法阻止c\c++模块更新,这里附上解决链接https://blog.csdn.net/qq_42121742/article/details/90085239
aaaa_l323 2020-04-17
  • 打赏
  • 举报
回复
是visual studio code呀不是visual studio

3,882

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 其它技术问题
社区管理员
  • 其它技术问题社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧