国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

launch: program ‘c: \build\Debug\outDebug‘ does not exist

這篇具有很好參考價(jià)值的文章主要介紹了launch: program ‘c: \build\Debug\outDebug‘ does not exist。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問(wèn)。

本想著用VS Code 編寫編譯C語(yǔ)言程序,順著網(wǎng)上的教程一步步操作,后來(lái)卻遇到 launch: program ‘c: \build\Debug\outDebug’ does not exist 這樣的一個(gè)提示框,怎么改launch.json文件都不行,后來(lái)看到網(wǎng)上的文章:

鏈接: VScode找不到任務(wù)c/c++:g++.exe生成活動(dòng)文件
自己操作了一下,運(yùn)行.c文件成功了。下面來(lái)看看具體操作。
1.打開一個(gè)VS Code窗口。launch: program ‘c: \build\Debug\outDebug‘ does not exist
2.選擇“文件(F)->打開文件夾…”
launch: program ‘c: \build\Debug\outDebug‘ does not exist
這里可以選一個(gè)位置,然后新建一個(gè)文件夾,我這里選擇位置是桌面,文件夾名為b。
launch: program ‘c: \build\Debug\outDebug‘ does not exist
點(diǎn)擊“選擇文件夾”。
launch: program ‘c: \build\Debug\outDebug‘ does not exist
VS Code里面生成了一個(gè)名為B的文件夾。
將鼠標(biāo)放到B上點(diǎn)一下,可以看到,B的右邊出現(xiàn)了幾個(gè)圖標(biāo)。
launch: program ‘c: \build\Debug\outDebug‘ does not exist
分別是:新建文件 新建文件夾 刷新資源管理器 在資源管理器中折疊文件夾
我們點(diǎn) “新建文件”,點(diǎn)擊后輸入文件名及擴(kuò)展名,這里我輸入的是b.c
launch: program ‘c: \build\Debug\outDebug‘ does not exist
3.雙擊b.c,打開,然后輸入代碼。保存。
launch: program ‘c: \build\Debug\outDebug‘ does not exist
4.按 F5 ,選擇 C++(GDB/LLDB)
launch: program ‘c: \build\Debug\outDebug‘ does not exist
選擇 C/C++: gcc.exe 生成…
launch: program ‘c: \build\Debug\outDebug‘ does not exist
5.一段閃爍之后,輸出了 Hello World!
launch: program ‘c: \build\Debug\outDebug‘ does not exist
6.如果代碼更改了,需要重新運(yùn)行,可以點(diǎn)擊右上角三角形旁邊的下箭頭,點(diǎn)擊出現(xiàn)的Run Code,就可以再次運(yùn)行程序了。
launch: program ‘c: \build\Debug\outDebug‘ does not exist
7.修改程序后運(yùn)行的結(jié)果
launch: program ‘c: \build\Debug\outDebug‘ does not exist
8.或者將鼠標(biāo)放置到代碼上,右鍵單擊,在出現(xiàn)的菜單里選擇Run Code選項(xiàng),也能夠重新運(yùn)行代碼。
launch: program ‘c: \build\Debug\outDebug‘ does not exist
9.注意:如果.c文件名是中文,可能會(huì)不成功。
launch: program ‘c: \build\Debug\outDebug‘ does not exist
一直報(bào)錯(cuò)。

分割線
繼續(xù)更新…
1.如果程序需要一些輸入,該怎么辦呢?
可以看看這篇文章:vscode如何運(yùn)行c語(yǔ)言,scanf輸入
操作步驟:
選擇 文件(F) -> 首選項(xiàng) ->設(shè)置,在搜索中輸入RunInTerminal并勾選
launch: program ‘c: \build\Debug\outDebug‘ does not exist
launch: program ‘c: \build\Debug\outDebug‘ does not exist
2.打開launch.json文件,externalConsoleg改為true,沒(méi)有這一項(xiàng)就自己添加進(jìn)去。
PS:我的launch.json文件不見(jiàn)了,所以這一步無(wú)圖。
3.運(yùn)行后發(fā)現(xiàn)能夠輸入,但是中文部分是亂碼
launch: program ‘c: \build\Debug\outDebug‘ does not exist
4.點(diǎn)擊右下角“UTF-8”處,然后選擇“通過(guò)編碼重新打開”
launch: program ‘c: \build\Debug\outDebug‘ does not exist
5.在新選項(xiàng)中選擇“Simplified Chinese (GBK) gbk”這一項(xiàng)。
launch: program ‘c: \build\Debug\outDebug‘ does not exist
6.此時(shí)右下角編碼格式變成了GBK,同時(shí)可以看到代碼中的中文字符變成了亂碼。
launch: program ‘c: \build\Debug\outDebug‘ does not exist
7.我們按下ctrl+z就恢復(fù)回來(lái)了,然后保存,運(yùn)行,OK。

launch: program ‘c: \build\Debug\outDebug‘ does not exist

接著更新:20230331
如何在VS code中編譯多個(gè).c文件?

如何實(shí)現(xiàn)C/C++與Python混編?

C語(yǔ)言里面如何輸入EOF?
答:按ctrl+z就行了文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-414108.html

到了這里,關(guān)于launch: program ‘c: \build\Debug\outDebug‘ does not exist的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來(lái)自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • VS_Code運(yùn)行中出現(xiàn)launch:program ... does not exist的解決辦法

    VS_Code運(yùn)行中出現(xiàn)launch:program ... does not exist的解決辦法

    問(wèn)題描述: ? 問(wèn)題原因: 包含了多個(gè)CPP文件 由于VSCODE實(shí)際上是一個(gè)文本編輯器,不是一個(gè)IDE,它不會(huì)自動(dòng)鏈接項(xiàng)目通過(guò)頭文件引用的.c文件。要解決這個(gè)問(wèn)題,就要告訴編譯器需要鏈接哪些文件。 解決方法: 1.找到工程所在文件夾中,找到tasks.json,找到\\\"args\\\"屬性,在其中

    2024年02月11日
    瀏覽(27)
  • vscode配置c語(yǔ)言環(huán)境以及l(fā)aunch:program“*****.exe” does not exist問(wèn)題(保姆級(jí)檢查)

    vscode配置c語(yǔ)言環(huán)境以及l(fā)aunch:program“*****.exe” does not exist問(wèn)題(保姆級(jí)檢查)

    下載編輯器VScode 官網(wǎng):https://code.visualstudio.com/ 下載編譯器MinGW并解壓 下載頁(yè)面:https://sourceforge.net/projects/mingw-w64/files/ 下載頁(yè)面中選擇 x86_64-win32-seh 下載 將MinGW添加至環(huán)境變量 進(jìn)入mingw64下的bin文件夾,復(fù)制當(dāng)前路徑,Win + i喚起系統(tǒng)設(shè)置,輸入高級(jí)系統(tǒng)設(shè)置并進(jìn)入,點(diǎn)擊環(huán)境

    2024年02月02日
    瀏覽(34)
  • vscode配置C/C++ 時(shí)報(bào)錯(cuò),launch program does not exist | 無(wú)法檢測(cè)到頭文件:檢測(cè)到 #include 錯(cuò)誤。請(qǐng)更新 includePath。|解決方法

    vscode配置C/C++ 時(shí)報(bào)錯(cuò),launch program does not exist | 無(wú)法檢測(cè)到頭文件:檢測(cè)到 #include 錯(cuò)誤。請(qǐng)更新 includePath。|解決方法

    運(yùn)行報(bào)錯(cuò): 安裝好VScode后出現(xiàn)了頭文件無(wú)法讀到的問(wèn)題,后面發(fā)現(xiàn)很多東西都沒(méi)安裝好,正好根據(jù)這個(gè)機(jī)會(huì)學(xué)習(xí)一下C++這門語(yǔ)言的構(gòu)造。 首先,我查到的原因之一是我沒(méi)有下MinGW。 MinGW介紹如下:MinGW是一個(gè)Windows平臺(tái)上的C/C++編程環(huán)境,它提供了一組GNU工具和庫(kù),包括GCC編譯

    2024年02月13日
    瀏覽(21)
  • compile_and_runtime_not_namespaced_r_class_jar\debug\R.jar: 另一個(gè)程序正在使用

    compile_and_runtime_not_namespaced_r_class_jar\debug\R.jar: 另一個(gè)程序正在使用

    run App的時(shí)候,提示該文件被占用 想要clean Project,還是提示該文件被占用,這個(gè)文件和連帶的文件夾都無(wú)法被刪除。 AndroidStudio下方的terminal(沒(méi)有這個(gè)窗口的話,從上面的view-tool Winndow-terminal打開) 執(zhí)行taskkill /im java.exe /f 關(guān)閉Android Studio,手動(dòng)找到這個(gè)文件夾,刪除該文件。

    2024年02月13日
    瀏覽(17)
  • Unity Build時(shí)Unity 出現(xiàn)error CS0103: The name ‘AssetDatabase‘ does not exist in the current context

    Unity Build時(shí)Unity 出現(xiàn)error CS0103: The name ‘AssetDatabase‘ does not exist in the current context

    當(dāng)對(duì)unity進(jìn)行build操作,報(bào)了好幾條錯(cuò)誤 解決方法如下:打開代碼提示的代碼文件 registerandload,找到使用AssetDatabase的那行, 用下面這兩行代碼包裹報(bào)錯(cuò)的那行代碼。 調(diào)整結(jié)果如下所示: 這樣問(wèn)題就解決了

    2024年02月13日
    瀏覽(27)
  • Exception: D:\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe did not run properly!

    Exception: D:\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe did not run properly!

    問(wèn)題出現(xiàn)于Unity 2019.4 Windows il2cpp build? 問(wèn)題描述: ?原因:由于安裝的Window SDK在之前卸載時(shí)并未清空注冊(cè)表中的信息所以再通過(guò)注冊(cè)表信息索引Windows SDK時(shí)就會(huì)找不到被卸載的SDK。(具體問(wèn)題描述:Bug - IL2CPP build problem - Unity Forum) 解決: 根據(jù)Debug中的提示找到注冊(cè)表中的條

    2024年02月15日
    瀏覽(18)
  • vscode debug 配置:launch.json

    打開新項(xiàng)目左邊的“運(yùn)行和調(diào)試” 點(diǎn)擊藍(lán)色字體“創(chuàng)建 launch.json 文件” 選擇上方“python” 選擇“Python 文件 調(diào)試當(dāng)前正在運(yùn)行的Python文件” 配置 launch.json 文件內(nèi)容: \\\"justMyCode\\\": true debug時(shí)只進(jìn)入項(xiàng)目自帶文件,不進(jìn)入安裝的包文件 \\\"env\\\": {\\\"PYDEVD_WARN_SLOW_RESOLVE_TIMEOUT\\\": \\\"2\\\"} 多長(zhǎng)

    2024年04月14日
    瀏覽(25)
  • pycharm 遠(yuǎn)程連接服務(wù)器并且debug, 支持torch.distributed.launch debug

    pycharm 遠(yuǎn)程連接服務(wù)器并且debug, 支持torch.distributed.launch debug

    未經(jīng)允許,本文不得轉(zhuǎn)載,vx:837007389 https://www.jetbrains.com/pycharm/download/other.html 首先,你需要有個(gè)專業(yè)版本的pycharm。什么ji huo 碼可以私我,或者樣例可以看這里鏈接。 https://www.cnblogs.com/yanghailin/p/17577621.html 略 我現(xiàn)在代碼在遠(yuǎn)程服務(wù)器上。所以需要把遠(yuǎn)程服務(wù)器代碼和我本地

    2024年02月14日
    瀏覽(20)
  • vscode debug python launch.json添加args不起作用

    vscode debug python launch.json添加args不起作用

    為了帶入?yún)?shù)調(diào)試python 程序,按照網(wǎng)上搜到的教程配置了lauch.json文件,文件中添加了\\\"args\\\": [“model” “0” “path”] 但是點(diǎn)擊debug按鈕,并沒(méi)有讀取到launch文件中的args參數(shù),python中打印len(sys.argv)依然等于1。 參考:vscode-python 中的 issues vscode-doc: Python debugging in VS Code 簡(jiǎn)單來(lái)說(shuō)

    2024年02月09日
    瀏覽(28)
  • vscode調(diào)試debug,launch.json文件‘a(chǎn)rgs’無(wú)法發(fā)傳遞給腳本

    vscode調(diào)試debug,launch.json文件‘a(chǎn)rgs’無(wú)法發(fā)傳遞給腳本

    launch.json中的\\\"name\\\"參數(shù)不要隨便起,要與執(zhí)行的文件名一致! 參考鏈接:注意看鏈接帖子的評(píng)論

    2024年01月18日
    瀏覽(25)

覺(jué)得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包