0

"command": "C:\MinGW\bin\g++.exe -g3 -Wall "${file}" -o "${fileDirname}\${fileBasenameNoExtension}.exe" &&"${fileDirname}\${fileBasenameNoExtension}.exe"" MY VS CODE

i have build my own configuration file but my c++ file is not running i cannt spot out error in my code please review

  • `&&` is available in PowerShell 7. Try `-and` in an earlier version. – 273K Mar 31 '22 at 04:24
  • @Yunnosch It would not be a good answer since `-and` eats command outputs. It's well explained on https://stackoverflow.com/questions/563600/can-i-get-or-and-to-work-in-powershell – 273K Mar 31 '22 at 06:43
  • @Yunnosch I like the answer "Just update PowerShell". – 273K Mar 31 '22 at 06:47
  • I do not have the hammer here, so I freely vote to consider duplicate. – Yunnosch Mar 31 '22 at 06:55

0 Answers0