Error shown : 'g++' is not recognized as an internal or external command, operable program or batch file

dear sir/ma’am

just before i installed sublime text editor
i tried a sample program of hello world but it showed this error.

Yes, for running c/c++ files in Sublime you first have to install this.
Just copy paste this error on google, you will easily get the solutions on how to resolve it.

You don’t even need to google, the procedure for resolving this is already given in the pdf, read it.