Vscode-code-runner: C / C ++ : μ†ŒμŠ€ 파일 κ²½λ‘œμ— 곡백이 있으면 μ»΄νŒŒμΌν•˜κ±°λ‚˜ μ‹€ν–‰ν•  수 μ—†μŠ΅λ‹ˆλ‹€.

에 λ§Œλ“  2018λ…„ 02μ›” 01일  Β·  23μ½”λ©˜νŠΈ  Β·  좜처: formulahendry/vscode-code-runner

νŒŒμΌμ„ λ§Œλ“€μ—ˆμŠ΅λ‹ˆλ‹€
D:\Program\USACO\[C2, S3.2] Magic Square.cpp

ν•˜μ§€λ§Œ 컴파일 ν•  λ•Œ
λͺ‡ 가지 였λ₯˜κ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€.

[Running] cd "d:\Program\USACO\" && g++ [C2, S3.2] Magic Square.cpp -o [C2, S3.2] Magic Square && "d:\Program\USACO\"[C2, S3.2] Magic Square
g++: error: [C2,: No such file or directory
g++: error: S3.2]: No such file or directory
g++: error: Magic: No such file or directory
g++: error: Square.cpp: No such file or directory
g++: error: S3.2]: No such file or directory
g++: error: Magic: No such file or directory
g++: error: Square: No such file or directory
g++: fatal error: no input files
compilation terminated.

운영체제 : Win7 SP1
VSCode : 1.19.3
λŸ¬λ„ˆ : 0.8.7 5beeedfa674b330537448162dfe9c2330c7eda50

κ°€μž₯ μœ μš©ν•œ λŒ“κΈ€

Windowsλ₯Ό μ‚¬μš©ν•˜λŠ” 경우 λ‹€μŒκ³Ό 같이 섀정을 ꡬ성 ν•΄λ³΄μ‹­μ‹œμ˜€.

"code-runner.executorMap": {
    "cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt.exe\" && & \"$dir$fileNameWithoutExt.exe\""
}

μΆ”κ°€ '&' λ¬Έμžμ—μ£Όμ˜ν•˜μ‹­μ‹œμ˜€.

Unix 기반 μ‹œμŠ€ν…œμ„ μ‚¬μš©ν•˜λŠ” 경우 λ‹€μŒμ„ μ‹œλ„ν•˜μ‹­μ‹œμ˜€ (ν…ŒμŠ€νŠΈν•˜μ§€λŠ” μ•Šμ•˜μ§€λ§Œ μž‘λ™ ν•  것이라고 μƒκ°ν•©λ‹ˆλ‹€).

"code-runner.executorMap": {
    "cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt\" && \"$dir$fileNameWithoutExt\""
}

λͺ¨λ“  23 λŒ“κΈ€

같은 λ¬Έμ œμž…λ‹ˆλ‹€.
λ‹€μŒκ³Ό 같이 ꡬ성을 μˆ˜μ • ν•œ ν›„ :

"code-runner.executorMap": {
"cpp": "cd $ dir && g ++ \"$ fileName \ "-o \"$ fileNameWithoutExt \ "&& $ dir $ fileNameWithoutExt"}

처음 두 λͺ…령을 μ„±κ³΅μ μœΌλ‘œ μ‹€ν–‰ν•  수 μžˆμ§€λ§Œ λ§ˆμ§€λ§‰ λͺ…λ Ή ($ dir $ fileNameWithoutExt)μ—μ„œλŠ” μž‘λ™ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

λ‹€μŒμ€ 좜λ ₯μž…λ‹ˆλ‹€.
image

@Michany $dir$fileNameWithoutExt λ₯Ό $fileNameWithoutExt λ³€κ²½ν•΄λ³΄μ„Έμš”.

@ hanghang0702 λ―Έμ•ˆ ν•΄μš” 늦게 @Michany 당신이 μ΄μŠ€μΌ€μ΄ν”„ 문자λ₯Ό μžŠμ–΄ 버린거야, 그것은 μ‹€ν–‰ 파일이 μ‹€ν–‰ ./"dir"filename와 * nixμ—μ„œ 슀크립트 기반 μ‹œμŠ€ν…œμ—μ„œ λ¬Έμ œκ°€λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€ @formulahendry

"code-runner.executorMap": {
        "javascript": "node",
        "java": "cd $dir && javac \"$fileName\" && java \"./$fileNameWithoutExt\"",
        "c": "cd $dir && gcc \"$fileName\" -o \"$fileNameWithoutExt\" && \"./$fileNameWithoutExt\"",
        "cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt\" && \"./$fileNameWithoutExt\"",
        "objective-c": "cd $dir && gcc -framework Cocoa \"$fileName\" -o \"$fileNameWithoutExt\" && \"./$fileNameWithoutExt\"",}

λ‚˜λŠ” Windows μ‚¬μš©μžκ°€ μ•„λ‹ˆλ©° Windowsμ—μ„œ μž‘λ™ν•˜λŠ”μ§€ ν™•μ‹€ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€ (일뢀 μ΄μŠ€μΌ€μ΄ν”„ 문자 λ˜λŠ” 이와 μœ μ‚¬ν•œ 것을 μ‘°μ • / λ³€κ²½ν•΄μ•Ό ν•  κ²ƒμž…λ‹ˆλ‹€).
λ‚˜λŠ” 그듀이 λ‹€κ°€μ˜€λŠ” λ²„μ „μ—μ„œ 그것을 νŽΈμ§‘ν•˜κ³  고치기λ₯Ό μ •λ§λ‘œ λ°”λžλ‹ˆλ‹€.

여기에도 같은 λ¬Έμ œκ°€ μžˆμŠ΅λ‹ˆλ‹€.

bash ν„°λ―Έλ„μ—μ„œ C μ½”λ“œλ₯Ό μ‹€ν–‰ν•  λ•Œ. λ‚˜λŠ” 이것을 μ–»λŠ”λ‹€ :
bash : cd : d : \ VscodeProjectC \ demo "&& gcc file1.c -o file1 && _d : VscodeProjectCdemo"file1_ : ν•΄λ‹Ή 파일 λ˜λŠ” 디렉토리 μ—†μŒ
λΆ„λͺ…νžˆ λ§ˆμ§€λ§‰ λͺ…령은 μ˜¬λ°”λ₯΄κ²Œ μΈμ‹λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€. 그것을 κ³ μΉ˜λŠ” 방법?

μ•ˆλ…•ν•˜μ„Έμš”!

Mac OS Xμ—μ„œλ„ 같은 λ¬Έμ œκ°€ μžˆμŠ΅λ‹ˆλ‹€.이 버그에 λŒ€ν•œ 해결책이 μžˆμŠ΅λ‹ˆκΉŒ?
Example 1.cpp의 이름을 Example1.cpp λ˜λŠ” Example_1.cpp둜 λ°”κΎΈλ©΄ μ •μƒμ μœΌλ‘œ μž‘λ™ν•©λ‹ˆλ‹€.

κ°μ‚¬ν•©λ‹ˆλ‹€!

Windowsλ₯Ό μ‚¬μš©ν•˜λŠ” 경우 λ‹€μŒκ³Ό 같이 섀정을 ꡬ성 ν•΄λ³΄μ‹­μ‹œμ˜€.

"code-runner.executorMap": {
    "cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt.exe\" && & \"$dir$fileNameWithoutExt.exe\""
}

μΆ”κ°€ '&' λ¬Έμžμ—μ£Όμ˜ν•˜μ‹­μ‹œμ˜€.

Unix 기반 μ‹œμŠ€ν…œμ„ μ‚¬μš©ν•˜λŠ” 경우 λ‹€μŒμ„ μ‹œλ„ν•˜μ‹­μ‹œμ˜€ (ν…ŒμŠ€νŠΈν•˜μ§€λŠ” μ•Šμ•˜μ§€λ§Œ μž‘λ™ ν•  것이라고 μƒκ°ν•©λ‹ˆλ‹€).

"code-runner.executorMap": {
    "cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt\" && \"$dir$fileNameWithoutExt\""
}

image

μ•ˆλ…•ν•˜μ„Έμš”, 저도 같은 λ¬Έμ œκ°€ μžˆμŠ΅λ‹ˆλ‹€. Windowsλ₯Ό μ‚¬μš©ν•˜κ³  있으며 κ°„λ‹¨ν•œ C ++ ν”„λ‘œκ·Έλž¨μ„ μ‹€ν–‰ν•˜λ €κ³ ν•©λ‹ˆλ‹€. 경둜 λ‚˜ 파일 이름에 곡백이 μ—†μŠ΅λ‹ˆλ‹€.

[Running] cd "c:\Users\Guillaume\Desktop\" && g++ test.cpp -o test && "c:\Users\Guillaume\Desktop\"test
g++: error: test.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.

λͺ…령을 κ·ΈλŒ€λ‘œ λ³΅μ‚¬ν•˜κ³  cmd.exe에 λΆ™μ—¬ λ„£μœΌλ©΄ λ¬Έμ œμ—†μ΄ μž‘λ™ν•©λ‹ˆλ‹€.

λ‹€λ₯Έ μ‚¬λžŒμ΄ μ œμ•ˆν•œλŒ€λ‘œ λ³€κ²½ν–ˆμ§€λ§Œ 아무것도 μž‘λ™ν•˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.

νŽΈμ§‘ : ν•΄κ²°λ˜μ—ˆμŠ΅λ‹ˆλ‹€! λ‹€λ₯Έ μ‚¬λžŒλ“€μ—κ²Œ 도움이 될 μˆ˜μžˆλŠ” 방법은 λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€.

"code-runner.executorMap": {
    "cpp": "cd $dir && g++ $dirWithoutTrailingSlash\\$fileName -o $fileNameWithoutExt && $fileNameWithoutExt"
}

μ•ˆλ…•ν•˜μ‹­λ‹ˆκΉŒ...
μ–΄λ””μ—μ„œλ‚˜ code-runner, executorMap을 찾을 수 μ—†μŠ΅λ‹ˆλ‹€.
이 μ½”λ“œλ₯Ό μ •ν™•νžˆ 어디에 λΆ™μ—¬ λ„£μ„κΉŒμš”?
settings.jsonμ—μ„œ? ... 그곳에 μ½”λ“œλ₯Ό λΆ™μ—¬ λ„£λŠ” 것이 μž‘λ™ν•˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€ ... :(

μ•ˆλ…•ν•˜μ‹­λ‹ˆκΉŒ...
μ–΄λ””μ—μ„œλ‚˜ code-runner, executorMap을 찾을 수 μ—†μŠ΅λ‹ˆλ‹€.
이 μ½”λ“œλ₯Ό μ •ν™•νžˆ 어디에 λΆ™μ—¬ λ„£μ„κΉŒμš”?
settings.jsonμ—μ„œ? ... 그곳에 μ½”λ“œλ₯Ό λΆ™μ—¬ λ„£λŠ” 것이 μž‘λ™ν•˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€ ... :(

예, settings.jsonμ—μ„œ.

λ§ˆμΉ¨λ‚΄ λŒ€μ‹ μ΄ λͺ…령을 μ‚¬μš©ν–ˆμŠ΅λ‹ˆλ‹€.

"cpp": "cd $dir ; g++ $fileName -o $fileNameWithoutExt.exe ; .\\$fileNameWithoutExt.exe"

λ‹€μŒμ€ λ‚΄ settings.json의 μΆ”μΆœμž…λ‹ˆλ‹€.

    "c-cpp-compile-run.cpp-compiler": "C:\\MinGW\\bin",
    "window.zoomLevel": -1,
    "code-runner.executorMap": {
        //"javascript": "node",
        //"php": "C:\\php\\php.exe",
        //"python": "python",
        //"perl": "perl",
        //"ruby": "C:\\Ruby23-x64\\bin\\ruby.exe",
        //"go": "go run",
        //"html": "\"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\"",
        //"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
        //"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "cpp": "cd $dir ; g++ $fileName -o $fileNameWithoutExt.exe ; .\\$fileNameWithoutExt.exe"

    },
    "C_Cpp.default.cppStandard": "c++20",
    "C_Cpp.default.cStandard": "c11",

λ‚˜λŠ” λ˜ν•œμ΄ λ¬Έμ œκ°€ μžˆλ‹€κ³  μƒκ°ν•©λ‹ˆλ‹€. 그것을 ν•΄κ²°ν•  κ³„νšμ΄ μžˆμŠ΅λ‹ˆκΉŒ? λ‚΄ κ²°κ³ΌλŠ” λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€.
$ cd "c:\Users\Jacob Armiger\Documents\cpp_files\" && g++ hello.cpp -o hello && "c:\Users\Jacob Armiger\Documents\cpp_files\"hello bash: cd: too many arguments

μ•ˆλ…•ν•˜μ„Έμš”, λ§Žμ€ μ‹œκ°„μ„ λ…Έλ ₯ν•œ ν›„ 해결책을 μ°Ύμ•˜μŠ΅λ‹ˆλ‹€. 이것이 λ‹€λ₯Έ μ‚¬λžŒλ“€μ—κ²Œ λ„μ›€μ΄λ˜κΈ°λ₯Ό λ°”λžλ‹ˆλ‹€.

"cpp": "cd $ dir && g ++ \"$ fileName \ "-o \"$ fileNameWithoutExt \ "&&. \\"$ fileNameWithoutExt \ "",

μ•ˆλ…•ν•˜μ„Έμš”, λ§Žμ€ μ‹œκ°„μ„ λ…Έλ ₯ν•œ ν›„ 해결책을 μ°Ύμ•˜μŠ΅λ‹ˆλ‹€. 이것이 λ‹€λ₯Έ μ‚¬λžŒλ“€μ—κ²Œ λ„μ›€μ΄λ˜κΈ°λ₯Ό λ°”λžλ‹ˆλ‹€.

"cpp": "cd $ dir && g ++"$ fileName "-o"$ fileNameWithoutExt "&&. \"$ fileNameWithoutExt "",

이것을 μΆ”κ°€ ν•  μœ„μΉ˜ ?? .vscode의 IN settings.json 파일 ?? μ•„λ‹ˆλ©΄ λ‹€λ₯Έ κ³³?

image

-> 예, vscode의 settings.json (μ •ν™•νžˆ μ‹€ν–‰μž 맡에 있음)에 λ³΅μ‚¬ν•΄μ•Όν•©λ‹ˆλ‹€. 사진을 μ²¨λΆ€ν•˜κ² μŠ΅λ‹ˆλ‹€.

Windows Guys!
이 κ³Όκ±°λ₯Ό settings.json νŒŒμΌμ— λ³΅μ‚¬ν•˜μ‹­μ‹œμ˜€.

λ‚˜λŠ” λ§Žμ€ 연ꡬλ₯Όν–ˆκ³  이것은 ν™•μ‹€νžˆ νš¨κ³Όκ°€μžˆμ„ κ²ƒμž…λ‹ˆλ‹€

"code-runner.executorMap": {
    "cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt\" && \"$fileNameWithoutExt\""
},

Windowsλ₯Ό μ‚¬μš©ν•˜λŠ” 경우 λ‹€μŒκ³Ό 같이 섀정을 ꡬ성 ν•΄λ³΄μ‹­μ‹œμ˜€.

"code-runner.executorMap": {
    "cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt.exe\" && & \"$dir$fileNameWithoutExt.exe\""
}

μΆ”κ°€ '&' λ¬Έμžμ—μ£Όμ˜ν•˜μ‹­μ‹œμ˜€.

Unix 기반 μ‹œμŠ€ν…œμ„ μ‚¬μš©ν•˜λŠ” 경우 λ‹€μŒμ„ μ‹œλ„ν•˜μ‹­μ‹œμ˜€ (ν…ŒμŠ€νŠΈν•˜μ§€λŠ” μ•Šμ•˜μ§€λ§Œ μž‘λ™ ν•  것이라고 μƒκ°ν•©λ‹ˆλ‹€).

"code-runner.executorMap": {
    "cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt\" && \"$dir$fileNameWithoutExt\""
}

이것은 λ‚˜λ₯Ό μœ„ν•΄ μΌν–ˆμŠ΅λ‹ˆλ‹€. 이제 c cpp 및 java νŒŒμΌμ„ μ»΄νŒŒμΌν•˜κ³  μ‹€ν–‰ν•  수 μžˆμŠ΅λ‹ˆλ‹€ ( '&'λŠ” μžλ°”μ—μ„œ ν•„μš”ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

Windowsλ₯Ό μ‚¬μš©ν•˜λŠ” 경우 λ‹€μŒκ³Ό 같이 섀정을 ꡬ성 ν•΄λ³΄μ‹­μ‹œμ˜€.

"code-runner.executorMap": {
    "cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt.exe\" && & \"$dir$fileNameWithoutExt.exe\""
}

μΆ”κ°€ '&' λ¬Έμžμ—μ£Όμ˜ν•˜μ‹­μ‹œμ˜€.

Unix 기반 μ‹œμŠ€ν…œμ„ μ‚¬μš©ν•˜λŠ” 경우 λ‹€μŒμ„ μ‹œλ„ν•˜μ‹­μ‹œμ˜€ (ν…ŒμŠ€νŠΈν•˜μ§€λŠ” μ•Šμ•˜μ§€λ§Œ μž‘λ™ ν•  것이라고 μƒκ°ν•©λ‹ˆλ‹€).

"code-runner.executorMap": {
    "cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt\" && \"$dir$fileNameWithoutExt\""
}

이 μ†”λ£¨μ…˜μ΄ μž‘λ™ν•©λ‹ˆλ‹€ !! λ§ˆμ§€λ§‰μœΌλ‘œ λ‚΄ C ν”„λ‘œκ·Έλž¨μ„ μ»΄νŒŒμΌν•˜κ³  μ‹€ν–‰ν•  수 μžˆμŠ΅λ‹ˆλ‹€. 감사!

정말 λ„μ›€μ΄λ˜μ—ˆμŠ΅λ‹ˆλ‹€. κ°μ‚¬ν•©λ‹ˆλ‹€!
Windowsλ₯Ό μ‚¬μš© μ€‘μž…λ‹ˆλ‹€.

제발 λ„μ™€μ£Όμ„Έμš” !!! 😭 같은 였λ₯˜κ°€ λ°œμƒν•©λ‹ˆλ‹€.

{
    "atomKeymap.promptV3Features": true,
    "editor.multiCursorModifier": "ctrlCmd",
    "editor.formatOnPaste": true,
    "python.pythonPath": "C:\\Users\\ABHISHEK\\anaconda3\\python.exe",
    "java.home": "C:\\Program Files\\Java\\jdk-12.0.2",
    "java.help.firstView": "gettingStarted",
    "workbench.iconTheme": "vscode-icons",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "java.semanticHighlighting.enabled": true,
    "files.exclude": {
        "**/.classpath": true,
        "**/.project": true,
        "**/.settings": true,
        "**/.factorypath": true
    },
    "python.jediEnabled": false,
    "python.dataScience.sendSelectionToInteractiveWindow": true,
    "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
    "python.languageServer": "Microsoft",
    "files.associations": {
        "*.cpp": "cpp"
    },
    "C_Cpp.updateChannel": "Insiders",
    "code-runner.executorMap": {


        "javascript": "node",
        "java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
        "c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
        "cpp": "cd $dir && g++ \"$fileName\" -o \"$fileNameWithoutExt.exe\" && & \"$dir$fileNameWithoutExt.exe\"",
        "objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir $fileNameWithoutExt",
        "php": "php",
        "python": "python -u",
        "perl": "perl",
        "perl6": "perl6",
        "ruby": "ruby",
        "go": "go run",
        "lua": "lua",
        "groovy": "groovy",
        "powershell": "powershell -ExecutionPolicy ByPass -File",
        "bat": "cmd /c",
        "shellscript": "bash",
        "fsharp": "fsi",
        "csharp": "scriptcs",
        "vbscript": "cscript //Nologo",
        "typescript": "ts-node",
        "coffeescript": "coffee",
        "scala": "scala",
        "swift": "swift",
        "julia": "julia",
        "crystal": "crystal",
        "ocaml": "ocaml",
        "r": "Rscript",
        "applescript": "osascript",
        "clojure": "lein exec",
        "haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
        "rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
        "racket": "racket",
        "scheme": "csi -script",
        "ahk": "autohotkey",
        "autoit": "autoit3",
        "dart": "dart",
        "pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
        "d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
        "haskell": "runhaskell",
        "nim": "nim compile --verbosity:0 --hints:off --run",
        "lisp": "sbcl --script",
        "kit": "kitc --run",
        "v": "v run",
        "sass": "sass --style expanded",
        "scss": "scss --style expanded",
        "less": "cd $dir && lessc $fileName $fileNameWithoutExt.css"
    },
    "window.zoomLevel": 0,
    "files.autoSave": "onFocusChange",
    "diffEditor.ignoreTrimWhitespace": false,
    "[cpp]": {

        "editor.wordBasedSuggestions": false,
        "editor.suggest.insertMode": "replace",
        "editor.semanticHighlighting.enabled": true
    },
    "code-runner.runInTerminal": true,
    "code-runner.saveAllFilesBeforeRun": true,
    "settingsSync.ignoredSettings": [
        "-java.configuration.runtimes"
    ],
    "liveServer.settings.donotShowInfoMsg": true,
    "java.refactor.renameFromFileExplorer": "autoApply",
    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[json]": {
        "editor.defaultFormatter": "vscode.json-language-features"
    },
    "eslint.codeAction.showDocumentation": {

        "enable": true
    },
    "git.autofetch": true,
    "vsicons.dontShowNewVersionMessage": true,

}

이것은 μ—¬μ „νžˆ β€‹β€‹λ˜‘κ°™μ€ 였λ₯˜κ°€ λ°œμƒν•©λ‹ˆλ‹€.

2020-11-04_020713

λ‚΄ ν™˜κ²½ λ³€μˆ˜ :

2020-11-04_020930

그리고 λ§Œμ•½ λˆ„κ΅°κ°€κ°€ λ‚΄ 파일 등에 λŒ€ν•΄ μ˜λ¬Έμ„ 가지고 μžˆλ‹€λ©΄ ...

2020-11-04_021239
@formulahendry @HeyJayant @ Kaushik이 - λ¦¬μ‹œ

@ tripathi-abhishek μ‚¬μš©

"bash : cd : too many arguments"와 같은 bash 였λ₯˜λ‘œ λ¬Έμ œκ°€ λ°œμƒν•œ 경우
2020-11-07 (5)

ν•΄κ²° 방법 :-
μ½”λ“œ 싀행기에 λŒ€ν•œ Visual Studio μ½”λ“œ μ„€μ •μœΌλ‘œ μ΄λ™ν•˜κ³  code-runner.executorMap의 cpp ν‚€ κ°’ μŒμ„ λ‹€μŒμœΌλ‘œ λ°”κΏ‰λ‹ˆλ‹€.
"code-runner.executorMap": {
"cpp": "g ++ $ fileName -o $ fileNameWithoutExt.exe && './$fileNameWithoutExt.exe'"
}

S creenshot :-
cpp ν‚€ κ°’ μŒμ„ λ‹€μŒκ³Ό 같이 "code-runner.executorMap"μ—μ„œ μ•„λž˜ μ–ΈκΈ‰ 된 μ½”λ“œλ‘œ λ°”κΏ‰λ‹ˆλ‹€ .
2020-11-07 (3)

@ VipulKhandelwal1999 κ°μ‚¬ν•©λ‹ˆλ‹€!

image

@ushakhanal 은 λ‚΄ μ˜κ²¬μ„ μ½μ—ˆμŠ΅λ‹ˆλ‹€. "λ„ˆλ¬΄ λ§Žμ€ 인수"였λ₯˜κ°€ λ°œμƒν–ˆμ„ λ•Œ μ–΄λ–»κ²Œν•΄μ•Όν•˜λŠ”μ§€ 이미 μ„€λͺ…ν–ˆμŠ΅λ‹ˆλ‹€.

이 νŽ˜μ΄μ§€κ°€ 도움이 λ˜μ—ˆλ‚˜μš”?
0 / 5 - 0 λ“±κΈ‰