I wrote a code in c++ and ran it in online gdb debugger and it ran perfectly fine over there but when I ran the same code in Sublime text 3 for various test cases, it started giving this error. Now I am getting really frustrated why this error pops up.
So, good human, please help me by fixing it.
[WinError 2] The system cannot find the file specified
[cmd: [‘bash’, ‘-c’, ‘g++ -std=c++0x ‘C:\Users\Dell\Desktop\CPP Programs\a.cpp’ -o ‘C:\Users\Dell\Desktop\CPP Programs/a’ && xterm -e bash -c ‘“C:\Users\Dell\Desktop\CPP Programs/a” ; read’’]]
[dir: C:\Users\Dell\Desktop\CPP Programs]
[path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\MinGW\bin;“C:\Users\Dell\AppData\Local\Microsoft\WindowsApps;”;C:\Users\Dell\AppData\Local\Programs\Microsoft VS Code\bin;C:\MinGW\bin;]
[Finished]