Compiler not working

whenever i press cntrl + b its says (‘g++’ is not recognized as an internal or external command,
operable program or batch file.
[Finished in 0.1s])

@S18CRX0131

try typing g++ in the command prompt, if it gives the same output as sublime, that means mingw is not installed properly, please reinstall it.