Build and Run Cpp file inside sublime-text-editor in macOS

Can anyone help me to build and run cpp file with g++ c++11 ( or newer ) inside sublime-text-editor in macOS ?
Also help me with including bits/stdc++ in macOS.

Use the above link.

This answers neither of my query . They are using bits/stdc++ in windows where it is already defined , and they have nowhere showed how to use c++11 or c++14 during building the file .